Skip to content

Commit

Permalink
fix in webapi (precision error) (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodhajski authored and tribal-tec committed Aug 6, 2018
1 parent 7c90443 commit 3e1d261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/webAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ BOOST_AUTO_TEST_CASE(inspect)
"inspect", {{0.5, 0.5}});
BOOST_CHECK(inspectResult.hit);
BOOST_CHECK(inspectResult.pos.equals(
{0.500001490116119, 0.500001490116119, 1.19209289550781e-7}));
{0.500001490116119, 0.500001490116119, 1.19209289550781e-7}, 0.000001f));

auto failedInspectResult =
makeRequest<std::array<float, 2>, brayns::Renderer::PickResult>(
Expand Down

0 comments on commit 3e1d261

Please sign in to comment.