Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
halentin committed Dec 2, 2024
1 parent 6434aef commit 23a80c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ export simulateME
function auto_interval(t)
"""
Find a nice interval that divides t into 500 - 1000 steps
from https://github.com/CATIA-Systems/FMPy/blob/4166f08dd991cb6b5df2522ba125669e635327fe/fmpy/util.py#L1042
"""
# Initial interval estimation
h = 10 ^ (round(log10(t)) - 3)
Expand Down

0 comments on commit 23a80c4

Please sign in to comment.