From dc68a2788912a79b042c4fbb69be9540c0bc6134 Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Tue, 4 Sep 2018 16:03:51 +0200 Subject: [PATCH] style changes to conform to flake8 rules --- sympyextensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sympyextensions.py b/sympyextensions.py index 51a2f77e2..b836d3d53 100644 --- a/sympyextensions.py +++ b/sympyextensions.py @@ -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)) -- GitLab