Commit d9424073 authored by Alexander Dielen's avatar Alexander Dielen

use class instead of enum as default argument.

parent 17bfe3da
......@@ -80,9 +80,9 @@ void expose_io(py::module& m) {
m.def("write_mesh", write_mesh_poly,
py::arg("mesh"), py::arg("filename"),
py::arg("opt")=OM::IO::Options::Default, py::arg("precision")=6);
py::arg("opt")=OM::IO::Options(), py::arg("precision")=6);
m.def("write_mesh", write_mesh_tri,
py::arg("mesh"), py::arg("filename"),
py::arg("opt")=OM::IO::Options::Default, py::arg("precision")=6);
py::arg("opt")=OM::IO::Options(), py::arg("precision")=6);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment