Skip to content

Commit

Permalink
Report when using floating point overlay (in debug mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed May 6, 2024
1 parent 415691c commit 7f429a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/operation/overlayng/OverlayNGRobust.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ OverlayNGRobust::Overlay(const Geometry* geom0, const Geometry* geom1, int opCod
*/
try {
geom::PrecisionModel PM_FLOAT;
// std::cerr << "Using floating point overlay." << std::endl;
#if GEOS_DEBUG
std::cerr << "Using floating point overlay." << std::endl;
#endif
result = OverlayNG::overlay(geom0, geom1, opCode, &PM_FLOAT);

// Simple noding with no validation
Expand Down

0 comments on commit 7f429a9

Please sign in to comment.