mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
Not necessary to cast py::list to python object
This commit is contained in:
parent
867ee51fcb
commit
e31cc7dfa1
@ -195,8 +195,8 @@ DLL_HEADER void ExportGeom2d(py::module &m)
|
|||||||
{
|
{
|
||||||
cout << "spline is neither line nor spline3" << endl;
|
cout << "spline is neither line nor spline3" << endl;
|
||||||
}
|
}
|
||||||
xpoints.append(py::cast(xp));
|
xpoints.append(xp);
|
||||||
ypoints.append(py::cast(yp));
|
ypoints.append(yp);
|
||||||
|
|
||||||
}
|
}
|
||||||
return py::tuple(py::make_tuple(xlim, ylim, xpoints, ypoints));
|
return py::tuple(py::make_tuple(xlim, ylim, xpoints, ypoints));
|
||||||
|
Loading…
Reference in New Issue
Block a user