Skip to content

Commit

Permalink
default properties arg for xtal.AtomComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
seshasaibehara committed Jul 30, 2024
1 parent 1e5d7a5 commit f462ad8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/src/xtal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,9 @@ PYBIND11_MODULE(_xtal, m) {
An atomic component of a molecular :class:`Occupant`
)pbdoc")
.def(py::init(&make_atom_position), py::arg("name"),
py::arg("coordinate"), py::arg("properties"), R"pbdoc(
py::arg("coordinate"),
py::arg("properties") = std::map<std::string, Eigen::MatrixXd>{},
R"pbdoc(
.. rubric:: Constructor
Expand Down

0 comments on commit f462ad8

Please sign in to comment.