Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsy committed Feb 7, 2015
2 parents d979758 + ad6ef50 commit bc8df29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ before_script:

script:
# run test
- make check
- ./cpplint.sh
- CTEST_OUTPUT_ON_FAILURE=TRUE make check
- sh ./cpplint.sh

after_success:
- lcov --directory . --capture --output-file coverage.info
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ TEST(Point2d, Norm) {
double dx = rng.randReal();
double dy = rng.randReal();
const Point2d p(dx, dy);
EXPECT_EQ(p.norm(), sqrt(dx * dx + dy * dy)) << "Norm: value does not match";
EXPECT_EQ(p.norm(), hypot(dx, dy)) << "Norm: value does not match";
}
}

Expand Down

0 comments on commit bc8df29

Please sign in to comment.