Skip to content

Commit 21c682e

Browse files
committed
fixed wierd error
1 parent 5a787ff commit 21c682e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/binding.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -180,17 +180,10 @@ PYBIND11_MODULE(polyfempy, m)
180180
},
181181
"Sets the rhs", py::arg("matrix"))
182182

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-
191183
.def("solve", [](polyfem::State &s) {
192184
init_globals(s);
193185
py::scoped_ostream_redirect output;
186+
s.compute_mesh_stats();
194187

195188
s.build_basis();
196189

0 commit comments

Comments
 (0)