Commit dc68a278 authored by Martin Bauer's avatar Martin Bauer
Browse files

style changes to conform to flake8 rules

parent 0500fd57
......@@ -75,7 +75,7 @@ def tanh_step_function_approximation(x, step_location, kind='right', steepness=0
return (1 + sp.tanh((x - step_location) / steepness)) / 2
elif kind == 'middle':
x1, x2 = step_location
return 1 - (tanh_step_function_approximation(x, x1, 'left', steepness) + \
return 1 - (tanh_step_function_approximation(x, x1, 'left', steepness) +
tanh_step_function_approximation(x, x2, 'right', steepness))
......
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