Commit e074075f authored by Steven Cordwell's avatar Steven Cordwell
Browse files

Rename W to array

parent 4228c6af
......@@ -293,10 +293,11 @@ def check(P, R):
for aa in range(aP):
def getSpan(W):
"""Return the span of W
sp(W) = max W(s) - min W(s)
def getSpan(array):
"""Return the span of `array`
span(array) = max array(s) - min array(s)
return W.max() - W.min()
return array.max() - array.min()
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