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
Hello
I had a division by 0 in the geometry_traits_nfp:l285
the reason is that lsq1 is equal to 0 because e1.second() == e1.first()
I don't know if it's the intended behaviour or not.
I fixed it by replacing
auto pcos1 = Ratio(lcos[0]) / lsq1 * sign * lcos[0];
auto pcos2 = Ratio(lcos[1]) / lsq2 * sign * lcos[1];
Hello
I had a division by 0 in the geometry_traits_nfp:l285
the reason is that lsq1 is equal to 0 because e1.second() == e1.first()
I don't know if it's the intended behaviour or not.
I fixed it by replacing
by
Or maybe add an assert to test the input if it's the intended behaviour.
The text was updated successfully, but these errors were encountered: