PATCH: Incorrect parameters in mapped_value function
This commit is contained in:
2
utils.py
2
utils.py
@@ -1,2 +1,2 @@
|
|||||||
def mapped_value(self, value, in_min, in_max, out_min, out_max):
|
def mapped_value(value, in_min, in_max, out_min, out_max):
|
||||||
return (value - in_min) * (out_max - out_min) / (in_max - in_min) + out_min
|
return (value - in_min) * (out_max - out_min) / (in_max - in_min) + out_min
|
||||||
Reference in New Issue
Block a user