diff --git a/include/boost/geometry/strategies/cartesian/cart_intersect.hpp b/include/boost/geometry/strategies/cartesian/cart_intersect.hpp index 540bc704c..ea92cf37b 100644 --- a/include/boost/geometry/strategies/cartesian/cart_intersect.hpp +++ b/include/boost/geometry/strategies/cartesian/cart_intersect.hpp @@ -193,7 +193,7 @@ struct relate_cartesian_segments } else { - r = da / d; + r = promoted_type(da) / promoted_type(d); if (! robustness_verify_r(a, b, r)) {