Closed dustincys closed 4 years ago
Thanks for checking! This is actually as designed -- the heuristic stops with t
one higher than where the error drops below the threshold. This doesn't break the loop, so when we set t_opt
it just runs the loop once more.
Thanks for checking! Line 829's and t_opt is None
ensures that line 830 won't be run more than once, I believe.
Thank you @scottgigante , that's right.
Hi, @scottgigante
here: https://github.com/KrishnaswamyLab/MAGIC/blob/master/python/magic/magic.py#L830
is it right
t_opt = i
instead of
t_opt = i + 1
?