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