Commit 7289dedb authored by augustin_s's avatar augustin_s 🐍
Browse files

added a note

parent 73c16549
......@@ -72,6 +72,7 @@ def istep(val, step):
#TODO: True -> numpy.full_like(val, True) ?
def within(val, vmin, vmax):
if vmin is not None and vmax is not None:
vmin, vmax = sorted((vmin, vmax))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment