diff options
| -rwxr-xr-x | spaghetti-monster/anduril/steps.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/steps.py b/spaghetti-monster/anduril/steps.py index 9056ea3..e19c9a6 100755 --- a/spaghetti-monster/anduril/steps.py +++ b/spaghetti-monster/anduril/steps.py @@ -32,7 +32,7 @@ def nearest_level(target, floor, ceil, steps): #if (! ramp_style): return target; ramp_range = ceil - floor; - ramp_discrete_step_size = ramp_range / (steps-1); + ramp_discrete_step_size = int(ramp_range / (steps-1)); this_level = floor; for i in range(steps): |
