Skip to content

Commit

Permalink
Be more conservative about the starting step size
Browse files Browse the repository at this point in the history
  • Loading branch information
schneiderfelipe committed Mar 17, 2022
1 parent 6fc7a26 commit ae55264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overreact/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def get_y(
np.finfo(np.float32).eps,
np.finfo(np.float64).eps,
np.nextafter(np.float16(0), np.float16(1)),
np.nextafter(np.float32(0), np.float32(1)),
# np.nextafter(np.float33(0), np.float32(1)), # Too small.
# np.nextafter(np.float64(0), np.float64(1)), # Too small.
]
)
Expand Down

0 comments on commit ae55264

Please sign in to comment.