Skip to content

Commit

Permalink
Update python/dolfinx/wrappers/common.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells authored Sep 11, 2024
1 parent 6e4eee3 commit 888457f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dolfinx/wrappers/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void common(nb::module_& m)
nb::arg("global"));
// dolfinx::common::Timer
nb::class_<dolfinx::common::Timer>(m, "Timer", "Timer class")
.def(nb::init<std::optional<std::string>>(), nb::arg("task") = nb::none())
.def(nb::init<std::optional<std::string>>(), nb::arg("task").none())
.def("start", &dolfinx::common::Timer::start, "Start timer")
.def("stop", &dolfinx::common::Timer::stop, "Stop timer")
.def("resume", &dolfinx::common::Timer::resume)
Expand Down

0 comments on commit 888457f

Please sign in to comment.