summaryrefslogtreecommitdiff
path: root/inversion/live.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-12-21 12:56:41 +0100
committerJules Laplace <julescarbon@gmail.com>2019-12-21 12:56:41 +0100
commit0010f814ecb828495c8255dd88c3e2ddb411f809 (patch)
tree2edd816c0a2139d18deaf0bb54c5b693d6bf5021 /inversion/live.py
parent35d12cd055d82aacfc0293ade6d4952dd4d231ed (diff)
zoom amt
Diffstat (limited to 'inversion/live.py')
-rw-r--r--inversion/live.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/inversion/live.py b/inversion/live.py
index a33b728..db88e6f 100644
--- a/inversion/live.py
+++ b/inversion/live.py
@@ -103,7 +103,7 @@ class SinParam:
class LerpParam:
def __init__(self, name, shape, a_in=None, b_in=None, datatype="noise"):
- if a_in and b_in:
+ if a_in is not None and b_in is not None:
a = InterpolatorVariable(variable=a_in)
b = InterpolatorVariable(variable=b_in)
else: