updating test bound for mac

This commit is contained in:
matlabbe
2026-06-01 22:11:12 -07:00
parent e2add4ac70
commit cf9d10c34f
+5 -3
View File
@@ -1968,9 +1968,11 @@ TEST_P(BundleAdjustmentTest, CircleCamerasRecoverPosesAndPoints)
// adds ~0.5 px noise that *can* balance the info matrix and // adds ~0.5 px noise that *can* balance the info matrix and
// recover ~8x tighter points (observed on Linux/OpenBLAS), but // recover ~8x tighter points (observed on Linux/OpenBLAS), but
// the pattern doesn't reproduce on macOS/Accelerate, where // the pattern doesn't reproduce on macOS/Accelerate, where
// recovery still sits around the continuous-pixel spread -- so // recovery sits around the continuous-pixel spread regardless
// the rounded bounds are widened to cover that. // of rounding -- so both the pose bound and the rounded point
poseDistMax = roundPixels ? 0.06f : 0.02f; // bound are widened to cover that. The continuous-pixel point
// bound was already loose (0.15) for the info-matrix reason.
poseDistMax = 0.06f;
pointDistMax = roundPixels ? 0.06f : 0.15f; pointDistMax = roundPixels ? 0.06f : 0.15f;
} }
else if(variant == BaVariant::kWithDepthNoLinks) else if(variant == BaVariant::kWithDepthNoLinks)