Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -87,7 +87,7 @@ Py_fft_do(Py_fft * self, PyObject * args) · 86 unmodified lines | |||
| 87 | 87 | ||
| 88 | if (self->vecin.length != self->win_s) { | 88 | if (self->vecin.length != self->win_s) { |
| 89 | PyErr_Format(PyExc_ValueError, | 89 | PyErr_Format(PyExc_ValueError, |
| 90 | "input array has length %d, but fft has size %d", | 90 | "input array has length %d, but fft expects length %d", |
| 91 | self->vecin.length, self->win_s); | 91 | self->vecin.length, self->win_s); |
| 92 | return NULL; | 92 | return NULL; |
| 93 | } | 93 | } |
| @@ -123,8 +123,8 @@ Py_fft_rdo(Py_fft * self, PyObject * args) · 29 unmodified lines | |||
| 123 | 123 | ||
| 124 | if (self->cvecin.length != self->win_s / 2 + 1) { | 124 | if (self->cvecin.length != self->win_s / 2 + 1) { |
| 125 | PyErr_Format(PyExc_ValueError, | 125 | PyErr_Format(PyExc_ValueError, |
| 126 | "input array has length %d, but fft input has size %d", | 126 | "input cvec has length %d, but fft expects length %d", |
| 127 | self->vecin.length, self->win_s / 2 + 1); | 127 | self->cvecin.length, self->win_s / 2 + 1); |
| 128 | return NULL; | 128 | return NULL; |
| 129 | } | 129 | } |
| 130 | 130 | ||