mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue