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
I had a problem when trying to save a figure, that generate_ticks(..) in src/axis.rs ran indefinitely (or until overflow happened in debug mode), with input min:-0.8230515814500334, max:-0.8230515813631452, step_size:0.00000000002.
The problem is obviously that it starts at 0.0 and counts up 0.00000000002 at a time so that for example after 5 million iterations it is only at -0.0001.
One solution could be to not start counting from 0.0, but rather from min rounded to the nearest step_size.
The text was updated successfully, but these errors were encountered:
I had a problem when trying to save a figure, that
generate_ticks(..)
insrc/axis.rs
ran indefinitely (or until overflow happened in debug mode), with inputmin:-0.8230515814500334, max:-0.8230515813631452, step_size:0.00000000002
.The problem is obviously that it starts at 0.0 and counts up
0.00000000002
at a time so that for example after 5 million iterations it is only at-0.0001
.One solution could be to not start counting from 0.0, but rather from
min
rounded to the neareststep_size
.The text was updated successfully, but these errors were encountered: