[Bf-blender-cvs] [c9ffb6f] master: Libmv: Update tests to make tests pass after recent Ceres update
Sergey Sharybin
noreply at git.blender.org
Wed Nov 2 15:33:18 CET 2016
Commit: c9ffb6fc91cfe65b986b843e259fe17c87c43fea
Author: Sergey Sharybin
Date: Wed Nov 2 15:32:11 2016 +0100
Branches: master
https://developer.blender.org/rBc9ffb6fc91cfe65b986b843e259fe17c87c43fea
Libmv: Update tests to make tests pass after recent Ceres update
Just a precision issue, difference is around 1e-7. Should be fine to
simply update expected value.
===================================================================
M intern/libmv/libmv/simple_pipeline/modal_solver_test.cc
===================================================================
diff --git a/intern/libmv/libmv/simple_pipeline/modal_solver_test.cc b/intern/libmv/libmv/simple_pipeline/modal_solver_test.cc
index 8b87acd..b4cae8d 100644
--- a/intern/libmv/libmv/simple_pipeline/modal_solver_test.cc
+++ b/intern/libmv/libmv/simple_pipeline/modal_solver_test.cc
@@ -65,9 +65,9 @@ TEST(ModalSolver, SyntheticCubeSceneMotion) {
NULL);
Mat3 expected_rotation;
- expected_rotation << 0.98215101299251, 0.17798357184544, 0.06083778292258,
- -0.16875286001759, 0.97665299913606, -0.13293378620359,
- -0.08307743323957, 0.12029450291547, 0.98925596922871;
+ expected_rotation << 0.98215101743472, 0.17798354937546, 0.06083777694542,
+ -0.16875283983360, 0.97665300495333, -0.13293376908719,
+ -0.08307742172243, 0.12029448893171, 0.98925597189636;
Mat3 &first_camera_R = reconstruction.CameraForImage(1)->R;
Mat3 &second_camera_R = reconstruction.CameraForImage(2)->R;
More information about the Bf-blender-cvs
mailing list