Skip to content

Commit

Permalink
Merge pull request #1198 from aprokop/fix_dbscan_test
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop authored Jan 5, 2025
2 parents ad8bb0e + 35fc569 commit f078d4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tstDBSCAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(dbscan, DeviceType, ARBORX_DEVICE_TYPES)
{
auto points = toView<DeviceType, Point>({{{0, 0, 0}}, {{1, 1, 1}}});

auto r = std::sqrt(3);
auto r = std::sqrt(3.1f);

BOOST_TEST(verifyDBSCAN(space, points, r - 0.1, 2,
dbscan(space, points, r - 0.1, 2, params)));
Expand All @@ -192,7 +192,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(dbscan, DeviceType, ARBORX_DEVICE_TYPES)
auto points = toView<DeviceType, Point>(
{{{0, 0, 0}}, {{1, 1, 1}}, {{3, 3, 3}}, {{6, 6, 6}}});

auto r = std::sqrt(3);
auto r = std::sqrt(3.1f);

BOOST_TEST(verifyDBSCAN(space, points, r, 2,
dbscan(space, points, r, 2, params)));
Expand Down

0 comments on commit f078d4c

Please sign in to comment.