Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -90,10 +90,6 @@ Py_pvoc_new (PyTypeObject * type, PyObject * args, PyObject * kwds) · 89 unmodified lines | |||
| 90 | self->win_s = Py_default_vector_length; | 90 | self->win_s = Py_default_vector_length; |
| 91 | self->hop_s = Py_default_vector_length/2; | 91 | self->hop_s = Py_default_vector_length/2; |
| 92 | 92 | ||
| 93 | if (self == NULL) { | ||
| 94 | return NULL; | ||
| 95 | } | ||
| 96 | |||
| 97 | if (win_s > 0) { | 93 | if (win_s > 0) { |
| 98 | self->win_s = win_s; | 94 | self->win_s = win_s; |
| 99 | } else if (win_s < 0) { | 95 | } else if (win_s < 0) { |