diff --git a/src/push_solve.rs b/src/push_solve.rs index c542fc8..2b53f41 100644 --- a/src/push_solve.rs +++ b/src/push_solve.rs @@ -265,9 +265,9 @@ fn get_best_push_ray_and_indices_4(point:Planar64Vec3,ci0:CI,ci1:CI,ci2:CI,ci3:C if best_err==err012{ return Some((ray012,indices012)) - }else if best_err==err012{ + }else if best_err==err013{ return Some((ray013,indices013)) - }else if best_err==err012{ + }else if best_err==err023{ return Some((ray023,indices023)) } unreachable!()