Skip to content

Commit

Permalink
Fix scan comparison when slicing imagesets (#669)
Browse files Browse the repository at this point in the history
Fixes #668
  • Loading branch information
jbeilstenedmands authored and ndevenish committed Nov 24, 2023
1 parent 5851627 commit 31f73a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions newsfragments/669.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix scan comparison for scan properties changes
2 changes: 1 addition & 1 deletion src/dxtbx/model/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ namespace dxtbx { namespace model {
}

bool operator==(const Scan &rhs) const {
if (image_range_ != image_range_ || batch_offset_ != rhs.batch_offset_) {
if (image_range_ != rhs.image_range_ || batch_offset_ != rhs.batch_offset_) {
return false;
}

Expand Down

0 comments on commit 31f73a5

Please sign in to comment.