Skip to content

Commit bf1ea6d

Browse files
committed
Use lowest instead of min for smallest number.
1 parent c8313ea commit bf1ea6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/delaunator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ Delaunator::Delaunator(std::vector<double> const& in_coords)
196196
m_edge_stack() {
197197
std::size_t n = coords.size() >> 1;
198198

199-
double max_x = (std::numeric_limits<double>::min)();
200-
double max_y = (std::numeric_limits<double>::min)();
199+
double max_x = std::numeric_limits<double>::lowest();
200+
double max_y = std::numeric_limits<double>::lowest();
201201
double min_x = (std::numeric_limits<double>::max)();
202202
double min_y = (std::numeric_limits<double>::max)();
203203
std::vector<std::size_t> ids;

0 commit comments

Comments
 (0)