You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This took a bit of tracking down, somewhere in your code there is a default constructed value which is later used in a comparison. The regression in Multiprecision was that default constructed values changed from 0 to 1 (now fixed in commit referenced above). You may wish to track down that stray default-constructed (uninitialised?) value though.
Thanks! Yes, there are many places like this in Geometry where we assume that default constructed values are equal to 0 which corresponds to value initialization of fundamental types. But I agree that we should rather assign 0 explicitly.
At Boost.Geometry we noticed that one test case started to fail after this change: 4815cb0 / PR #366
in particular this one:
https://github.com/boostorg/geometry/blob/d0838774aae3c73f208f89623e0a1423973381b7/test/algorithms/set_operations/union/union_other_types.cpp#L145
where
cpp_rational
akanumber<backends::rational_adaptor<backends::cpp_int_backend<...>>...>
is used as coordinate type of tested geometries.The results are different than they were in the past and different than we get with
boost::rational
and other coordinate types.To reproduce:
If you have any suggestions what I could do to help you find the issue feel free to ask.
The text was updated successfully, but these errors were encountered: