From 0010f814ecb828495c8255dd88c3e2ddb411f809 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 21 Dec 2019 12:56:41 +0100 Subject: zoom amt --- inversion/live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inversion/live.py') 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: -- cgit v1.2.3-70-g09d2