diff -r aa6129697116 -r 8d26483c4333 src/main.rs --- a/src/main.rs Thu Nov 07 16:52:05 2024 -0500 +++ b/src/main.rs Thu Nov 07 17:39:40 2024 -0500 @@ -80,12 +80,12 @@ fn simple_cube_test() -> DynError { let points = [ - OnCube::new(F1, Loc([0.5, 0.7])), + // OnCube::new(F1, Loc([0.5, 0.7])), OnCube::new(F2, Loc([0.3, 0.5])), - OnCube::new(F4, Loc([0.9, 0.9])), - OnCube::new(F6, Loc([0.4, 0.3])), - OnCube::new(F4, Loc([0.3, 0.7])), - OnCube::new(F3, Loc([0.3, 0.7])), + // OnCube::new(F4, Loc([0.9, 0.9])), + //OnCube::new(F6, Loc([0.4, 0.3])), + // OnCube::new(F4, Loc([0.3, 0.7])), + // OnCube::new(F3, Loc([0.3, 0.7])), ]; let origin = OnCube::new(F4, Loc([0.5, 0.5])); @@ -94,8 +94,8 @@ write_points(format!("{PREFIX}/origin"), std::iter::once(&origin))?; let f = Sum::new(points.into_iter().map(DistToSquaredDiv2)); - //let g = ZeroFn::new(); - let g = Scaled::new(0.5, DistTo(origin)); + let g = ZeroFn::new(); + //let g = Scaled::new(0.5, DistTo(origin)); let τ = 0.1; std::fs::create_dir_all(PREFIX)?;