Skip to content

Commit

Permalink
make sure arrays are flat in signal passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshpar committed Mar 26, 2012
1 parent ba9bf9d commit e94e97d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/ATK/sc/Classes/ATK.sc
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Foa : MultiOutUGen {

*checkChans {arg in;
(in.size < 4).if({
^[in] ++ (4 - in.size).collect({Silent.ar});
^([in] ++ (4 - in.size).collect({Silent.ar})).flat;
}, {
^in
});
Expand Down Expand Up @@ -414,7 +414,7 @@ AtkKernelConv {
FoaUGen {
*checkChans {arg in;
(in.size < 4).if({
^[in] ++ (4 - in.size).collect({Silent.ar});
^([in] ++ (4 - in.size).collect({Silent.ar})).flat;
}, {
^in
});
Expand Down

0 comments on commit e94e97d

Please sign in to comment.