forked from bartvdbraak/blender
Fix T50243: libmv_panography_test is broken
There was fully wrong logic in comparison: was actually accessing memory past the array boundary. Run test manually and the figure seems correct to me now. Spotted by @LazyDodo, thanks!
This commit is contained in:
parent
c21a5139e1
commit
fbcd51aef8
@ -48,7 +48,7 @@ TEST(Panography, PrintSomeSharedFocalEstimationValues) {
|
||||
|
||||
// Assert we found a valid solution.
|
||||
EXPECT_EQ(1, fs.size());
|
||||
EXPECT_NEAR(1.01667, fs[1], 1e-3);
|
||||
EXPECT_NEAR(3.47194, fs[0], 1e-3);
|
||||
}
|
||||
|
||||
TEST(Panography, GetR_FixedCameraCenterWithIdentity) {
|
||||
|
Loading…
Reference in New Issue
Block a user