We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a787ff commit 21c682eCopy full SHA for 21c682e
src/binding.cpp
@@ -180,17 +180,10 @@ PYBIND11_MODULE(polyfempy, m)
180
},
181
"Sets the rhs", py::arg("matrix"))
182
183
- .def("compute_mesh_stats", [](polyfem::State &s) {
184
- init_globals(s);
185
- py::scoped_ostream_redirect output;
186
-
187
- s.compute_mesh_stats();
188
- },
189
- "compute statistics")
190
191
.def("solve", [](polyfem::State &s) {
192
init_globals(s);
193
py::scoped_ostream_redirect output;
+ s.compute_mesh_stats();
194
195
s.build_basis();
196
0 commit comments