- bugfix in new_translation
- new register_translation_fft function
This commit is contained in:
1 parent
aac61b981f
commit
b12982da48
2 files changed
+50
-7
No files matched your search
+1
-1
@@ -175,7 +175,7 @@ impl<D: Dimension> Registration<D> {
|
||||
} else {
|
||||
return Err(Error::NumberOfDimensionsNotDefined);
|
||||
};
|
||||
let mut fixed_mu = vec![Some(0.0); ndim * ndim];
|
||||
let mut fixed_mu = vec![Some(0.0); ndim * ndim + ndim];
|
||||
for i in 0..ndim {
|
||||
fixed_mu[i * (ndim + 1)] = Some(1.0);
|
||||
fixed_mu[ndim * ndim + i] = None;
|
||||
|
||||
Reference in new issue
Block a user