Skip to content

Commit

Permalink
Fixed broken unit test for filter translations line test
Browse files Browse the repository at this point in the history
Change-Id: Icd80ace3fdc7fc8e9074e4219e44be34577f17d4
  • Loading branch information
Chris Sweeney committed Mar 11, 2015
1 parent 168f997 commit 8ac7638
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ TEST(FilterViewPairsFromRelativeTranslation, LineTest) {
const ViewIdPair invalid_view_pair(0, 3);
TwoViewInfo invalid_info;
// Force the bad translations to be really bad.
view_pairs[invalid_view_pair].position_2 =
(Vector3d::Random() - Vector3d::Ones()).normalized();
view_pairs[invalid_view_pair].position_2 = Vector3d(-1, -1, -1).normalized();

FilterViewPairsFromRelativeTranslationOptions options;
options.translation_projection_tolerance = 0.1;
Expand Down

0 comments on commit 8ac7638

Please sign in to comment.