[PD-dev] Bug in over_perform?

Nicolas Danet nicolas.danet at free.fr
Sat Dec 3 14:53:18 CET 2016


Is the code above good < https://sourceforge.net/p/pure-data/pure-data/ci/master/tree/src/d_arithmetic.c#l454 >? 

over_perform / d_arithmetic.c / line 1454


t_sample g = *in2++;
*out++ = (g ? *in1++ / g : 0);


AFAIK the in1 pointer is not incremented if the content of in2 is zero.

Whereas the over_perf8 method increments it. So i guess that there is something wrong.

More information about the Pd-dev mailing list