This commit is contained in:
w.pomp
2026-08-03 13:59:09 +02:00
parent cc12a1a9b9
commit 687c37360d
2 changed files with 372 additions and 6 deletions
-4
View File
@@ -214,8 +214,6 @@ where
/// memory for (point, value, gradient) combination, refcell gives interior mutability
metric: RefCell<IntMut>,
edge: f64,
// mem_f: RefCell<BSplineMem>,
// mem_m: RefCell<BSplineMem>,
}
impl<D> MattesMetric<D>
@@ -231,8 +229,6 @@ where
) -> Result<Self, Error> {
let shape = fixed.shape().iter().map(|&i| i as f64).collect::<Vec<_>>();
let center = shape.iter().map(|i| (i - 1.0) / 2.0).collect();
// let mem_f = fixed.get_mem();
// let mem_m = moving.get_mem();
let (min, max) = fixed
.iter()
.chain(moving.iter())