History

[py] remove useless check in py-phasevoc.c

Paul Brossier committed 7 years ago

Commit 38214151 parent 8968ea71 file · +0 −4Browse files

Showing the changes to python/ext (1 of 1 file). Show all

Unified · Split

python/ext/py-phasevoc.c+0−4
@@ -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) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t