summaryrefslogtreecommitdiff
path: root/scripts/_notch_bank.lua
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-03-16 20:55:41 +0100
committerRobin Gareus <robin@gareus.org>2017-03-16 20:55:41 +0100
commitd98eca6811308ddb3162c23e723cca98f574af2a (patch)
treed60635643d3f339088a624e5bab930a6125ddb03 /scripts/_notch_bank.lua
parenta2094b6831edb25cf6dd1409ceee7bd0c56ece0d (diff)
Update scripts to use == operator
Diffstat (limited to 'scripts/_notch_bank.lua')
-rw-r--r--scripts/_notch_bank.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/_notch_bank.lua b/scripts/_notch_bank.lua
index 619541823d..cd1f71bdc6 100644
--- a/scripts/_notch_bank.lua
+++ b/scripts/_notch_bank.lua
@@ -109,7 +109,7 @@ function dsp_run (ins, outs, n_samples)
-- process all channels
for c = 1, chn do
-- when not processing in-place, copy the data from input to output first
- if not ins[c]:sameinstance (outs[c]) then
+ if ins[c] ~= outs[c] then
ARDOUR.DSP.copy_vector (outs[c], ins[c], n_samples)
end