mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04: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;
|
||||
}
|
||||
xpoints.append(py::cast(xp));
|
||||
ypoints.append(py::cast(yp));
|
||||
xpoints.append(xp);
|
||||
ypoints.append(yp);
|
||||
|
||||
}
|
||||
return py::tuple(py::make_tuple(xlim, ylim, xpoints, ypoints));
|
||||
|
Loading…
Reference in New Issue
Block a user