Skip to content

Commit b06e81e

Browse files
committed
Fixing bug in lambda transformations
1 parent 49361da commit b06e81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ziffers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ def apply_transformation(ziff, defaults, loop_i=0, note_i=0, melody_size=1)
12331233
else
12341234
val = val.()
12351235
end
1236-
ziff[key] = val
1236+
# lambda val stored below. Not here!
12371237
end
12381238

12391239
if ![:chord_channel,:harmonize,:scale,:run,:run_each,:apply,:mapping,:multi].include?(key)

0 commit comments

Comments
 (0)