Skip to content

Commit

Permalink
rename type->input_type
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbey committed Oct 20, 2023
1 parent 735b734 commit 31570e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions efel/cppcore/cppcore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static void PyList_from_vectorstring(vector<string> input, PyObject* output) {
}

static PyObject*
_getfeature(PyObject* self, PyObject* args, const string &type) {
_getfeature(PyObject* self, PyObject* args, const string &input_type) {
char* feature_name;
PyObject* py_values;

Expand All @@ -128,7 +128,7 @@ _getfeature(PyObject* self, PyObject* args, const string &type) {
return NULL;
}

if (!type.empty() && feature_type != type){ // when types do not match
if (!input_type.empty() && feature_type != input_type){ // when types do not match
PyErr_SetString(PyExc_TypeError, "Feature type does not match");
return NULL;
}
Expand Down

0 comments on commit 31570e2

Please sign in to comment.