Skip to content

Commit

Permalink
Post-release fixes for 0.7.0 (#2815)
Browse files Browse the repository at this point in the history
* Convert PathLib.Path so string, from Drew Parsons.

* Did not compile with pedantic warnings on GCC 10 series.
  • Loading branch information
jhale committed Oct 10, 2023
1 parent 92aedc4 commit 230e027
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/doc/source/jupytext_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def process():
demo = demo.resolve()
here = os.getcwd()
os.chdir(demo_dir)
runpy.run_path(demo)
runpy.run_path(str(demo))
os.chdir(here)

# Copy images used in demos
Expand Down
4 changes: 2 additions & 2 deletions python/dolfinx/wrappers/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void xdmf_real_fn(auto&& m)
{ self.write_meshtags(meshtags, x, geometry_xpath, xpath); },
py::arg("meshtags"), py::arg("x"), py::arg("geometry_xpath"),
py::arg("xpath") = "/Xdmf/Domain");
};
}

template <typename T, typename U>
void xdmf_scalar_fn(auto&& m)
Expand All @@ -61,7 +61,7 @@ void xdmf_scalar_fn(auto&& m)
{ self.write_function(u, t, mesh_xpath); },
py::arg("u"), py::arg("t"),
py::arg("mesh_xpath") = "/Xdmf/Domain/Grid[@GridType='Uniform'][1]");
};
}

template <typename T>
void vtk_real_fn(auto&& m)
Expand Down

0 comments on commit 230e027

Please sign in to comment.