- remove center and shape from Transform
This commit is contained in:
1 parent
dc1d5d8364
commit
aac61b981f
5 files changed
+68
-186
No files matched your search
+2
-8
@@ -330,10 +330,7 @@ impl<D: Dimension> Registration<D> {
|
||||
p_var = result.optimal_point;
|
||||
}
|
||||
}
|
||||
Ok(Transform::<D>::new(
|
||||
self.fixed_mu.combine(p_var.as_slice()),
|
||||
fixed.shape().to_vec(),
|
||||
))
|
||||
Ok(Transform::<D>::new(self.fixed_mu.combine(p_var.as_slice())))
|
||||
}
|
||||
|
||||
fn optimize_metric<M: ObjectiveFunction<f64>>(
|
||||
@@ -480,9 +477,6 @@ impl<D: Dimension> Registration<D> {
|
||||
converged: optimization_result.converged,
|
||||
});
|
||||
}
|
||||
Ok((
|
||||
Transform::<D>::new(p, fixed.shape().to_vec()),
|
||||
registration_results,
|
||||
))
|
||||
Ok((Transform::<D>::new(p), registration_results))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user