Skip to content

Commit

Permalink
fix bin_width
Browse files Browse the repository at this point in the history
  • Loading branch information
xivh authored Jan 8, 2025
1 parent 469c877 commit edc62ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/src/monte_sampling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3829,7 +3829,7 @@ PYBIND11_MODULE(_monte_sampling, m) {
)pbdoc",
py::arg("initial_begin") = 0.0, py::arg("bin_width") = 1.0,
py::arg("is_log") = false, py::arg("max_size") = 10000)
.def("bin_width", &monte::Histogram1D::size, R"pbdoc(
.def("bin_width", &monte::Histogram1D::bin_width, R"pbdoc(
The width of each bin in the histogram
)pbdoc")
.def("is_log", &monte::Histogram1D::is_log, R"pbdoc(
Expand Down Expand Up @@ -3917,7 +3917,7 @@ PYBIND11_MODULE(_monte_sampling, m) {
Parameters
----------
partiion_names : list[str]
partition_names : list[str]
Names of the partitions. A separate histogram is created for each
partition (i.e. activation energies for A-Va hops in one partition
and activation energies for B-Va hops in another partition).
Expand Down

0 comments on commit edc62ab

Please sign in to comment.