Skip to content

Commit

Permalink
Add missing argument in PolychromaticBeamPickleSuite. (#714)
Browse files Browse the repository at this point in the history
* Add missing argument in PolychromaticBeamPickleSuite.
  • Loading branch information
toastisme authored Mar 21, 2024
1 parent 7242bb3 commit 85462c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/714.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing argument to `getinitargs` in `PolychromaticBeamPickleSuite`.
1 change: 1 addition & 0 deletions src/dxtbx/model/boost_python/beam.cc
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ namespace dxtbx { namespace model { namespace boost_python {
obj.get_transmission(),
obj.get_probe(),
obj.get_sample_to_source_distance(),
true,
obj.get_wavelength_range());
}
static boost::python::tuple getstate(boost::python::object obj) {
Expand Down

0 comments on commit 85462c3

Please sign in to comment.