Compare commits

..

No commits in common. "9dc5b2354a33545314f481ade5924c81c785dfe1" and "99e416249d0646cdb1221dd2722661c15941975f" have entirely different histories.

2 changed files with 2 additions and 7 deletions

View file

@ -443,9 +443,7 @@ BEGIN {
function BANANA(d,c, p) {
p -= B0[d,c]
p = 1+p*p*(B2[d,c] + p*(B3[d,c] + p*B4[d,c]))
if (p>2) p = 2
return p
return 1+p*p*(B2[d,c] + p*(B3[d,c] + p*B4[d,c]))
}
function isPulser() {

View file

@ -36,10 +36,7 @@ struct banana {
static double get_banana(struct banana* c, double phase)
{
double p = phase - c->b0;
p = ((p * c->b4 + c->b3) * p + c->b2) * p * p + 1;
if (p > 2)
p = 2;
return p;
return ((p * c->b4 + c->b3) * p + c->b2) * p * p + 1;
}
static int set_banana(const char *arg)