summaryrefslogtreecommitdiff
path: root/inversion/live.py
diff options
context:
space:
mode:
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: