diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-10 11:26:55 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-10 11:26:55 +0400 |
commit | 2cf1f1f4d6a4ffebf404e7e00de42aee7a418b57 (patch) | |
tree | 81567399553da3910c9ff2e5fa73247647270fe6 /extern/libmv | |
parent | 01a981f5c4b720bd278534ffc95c001f68b01fcb (diff) |
Left extra logging print by accident.
Diffstat (limited to 'extern/libmv')
-rw-r--r-- | extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc b/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc index 9841f5cb4eb..c7295b9c9f3 100644 --- a/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc +++ b/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc @@ -38,10 +38,8 @@ void EuclideanScaleToUnity(EuclideanReconstruction *reconstruction) { double max_distance = 0.0; for (int i = 0; i < all_cameras.size(); ++i) { double distance = (all_cameras[i].t - cameras_mass_center).squaredNorm(); - if (distance > max_distance) { + if (distance > max_distance) max_distance = distance; - LG << i; - } } if (max_distance == 0.0) { |