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 can be an issue when float exceptions are enabled.
I fixed this by arbitrarily setting LogDenX to 0 if the min value is 0, however I am unsure if you would want to fix it another way.
Note that it also causes issues if the Max/Min value is negative.
The text was updated successfully, but these errors were encountered:
This shouldn't matter since we always constrain the min value to be above 0 when log scale is enabled beforeUpdateTransformCache is ever called. However, we always calculate LogDen even if log scale is not enable, which is why you are seeing the exception. I've added a conditional that will skip the calculation of log scale is not enabled:
In the case where the minimum for an axis is 0, it causes a division by 0 here (and for Y axes):
implot/implot.cpp
Line 514 in 555ff68
This can be an issue when float exceptions are enabled.
I fixed this by arbitrarily setting
LogDenX
to0
if the min value is 0, however I am unsure if you would want to fix it another way.Note that it also causes issues if the Max/Min value is negative.
The text was updated successfully, but these errors were encountered: