Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lejafar committed May 4, 2017
1 parent b2d5ee2 commit 57838c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/filter/src/iirfiltsos.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void IIRFILTSOS(_execute_df1)(IIRFILTSOS() _q,
*_y = _q->y[0];
}

// compute filter output, direct form I method
// compute filter output, direct form II method
// _q : iirfiltsos object
// _x : input sample
// _y : output sample pointer
Expand All @@ -223,7 +223,7 @@ void IIRFILTSOS(_execute_df2)(IIRFILTSOS() _q,
DOTPROD(_execute)(_q->dpb, _q->v, _y);
#else
// compute new v[0]
_q->v[0] = _x -
_q->v[0] = _x -
_q->a[1]*_q->v[1] -
_q->a[2]*_q->v[2];

Expand All @@ -250,4 +250,3 @@ float IIRFILTSOS(_groupdelay)(IIRFILTSOS() _q,
}
return iir_group_delay(b, 3, a, 3, _fc) + 2.0;
}

0 comments on commit 57838c3

Please sign in to comment.