Skip to content
Browse files

BUG: signal: fix a return statement in lfilter.c.src

  • Loading branch information...
1 parent 6dd75a8 commit aefc2c7dc2ad764dc8dd1804d219d10df3ab7780 Warren Weckesser committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 scipy/signal/lfilter.c.src
View
2 scipy/signal/lfilter.c.src
@@ -583,7 +583,7 @@ static void OBJECT_filt(char *b, char *a, char *x, char *y, char *Z,
tmp1 = PyNumber_Multiply(*yn, *ptr_a);
if (tmp1 == NULL) {
Py_DECREF(tmp3);
- return NULL;
+ return;
}
tmp2 = PyNumber_Divide(tmp1, *a0);
Py_DECREF(tmp1);

0 comments on commit aefc2c7

Please sign in to comment.
Something went wrong with that request. Please try again.