Skip to content

Commit

Permalink
use lowest()
Browse files Browse the repository at this point in the history
  • Loading branch information
AdhocMan committed Apr 10, 2024
1 parent 340da63 commit 534c559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbor/util/spatial_tree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class spatial_tree {
if (leaf_d.empty()) return;

min_.fill(std::numeric_limits<double>::max());
max_.fill(-std::numeric_limits<double>::max());
max_.fill(std::numeric_limits<double>::lowest());

for (const auto &d: leaf_d) {
const auto p = location(d);
Expand Down

0 comments on commit 534c559

Please sign in to comment.