From b18e1182fb62c1cfe6777da7e54f42c8bd9046e7 Mon Sep 17 00:00:00 2001 From: Alexey Mulyukin Date: Thu, 21 Sep 2017 14:54:09 +0300 Subject: [PATCH] Fix small syntax issue --- pysd/py_backend/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysd/py_backend/functions.py b/pysd/py_backend/functions.py index 6464ce04..8c6930dd 100644 --- a/pysd/py_backend/functions.py +++ b/pysd/py_backend/functions.py @@ -840,7 +840,7 @@ def pulse_magnitude(magnitude, start, repeat_time=0): else: if abs((t - start) % repeat_time) < time_step: return magnitude * time_step - else + else: return 0