Base: Standardize on Py::Long type for Python bindings.
This commit is contained in:
@@ -1054,7 +1054,7 @@ private:
|
||||
if (!PyLong_Check(value)) {
|
||||
throw Py::ValueError(err);
|
||||
}
|
||||
int order = Py::Int(value);
|
||||
int order = Py::Long(value);
|
||||
params.orders[s] = static_cast<TopoShape::Continuity>(order);
|
||||
return;
|
||||
});
|
||||
@@ -1131,7 +1131,7 @@ private:
|
||||
if (!PyLong_Check(value)) {
|
||||
throw Py::ValueError(err);
|
||||
}
|
||||
int order = Py::Int(value);
|
||||
int order = Py::Long(value);
|
||||
params.orders[s] = static_cast<TopoShape::Continuity>(order);
|
||||
return;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user