This commit is contained in:
parent
966af3b529
commit
e198c13b95
|
@ -14,7 +14,7 @@ def minimum(data):
|
|||
|
||||
def bounds(data):
|
||||
"Returns a list of the smallest and largest numbers in data"
|
||||
return min(data), max(data)
|
||||
return [min(data), max(data)]
|
||||
|
||||
def clamp(value, low, high):
|
||||
"""Clamps a value to a range from low to high.
|
||||
|
|
Loading…
Reference in New Issue