Update expression_editor.py
This commit is contained in:
@@ -67,7 +67,7 @@ def interpolate_dicts(from_dict, to_dict, interpolations_num, interpolation_type
|
||||
cs = CubicSpline([0, 1], np.vstack([from_values, to_values]), axis=0)
|
||||
|
||||
for i in range(interpolations_num):
|
||||
alpha = i / (interpolations_num - 1)
|
||||
alpha = i / 1 if (interpolations_num - 1)==0 else (interpolations_num - 1)
|
||||
interpolated_dict = {}
|
||||
|
||||
for key in keys:
|
||||
|
||||
Reference in New Issue
Block a user