Skip to content

Commit

Permalink
added missing STIR version check in unnormalise, fixes #1216
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Oct 25, 2023
1 parent d395634 commit e34ae29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xSTIR/cSTIR/stir_x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,11 @@ void
PETAcquisitionSensitivityModel::unnormalise(STIRAcquisitionData& ad) const
{
BinNormalisation* norm = norm_.get();
#if STIR_VERSION < 050000
norm->undo(*ad.data(), 0, 1);
#else
norm->undo(*ad.data());
#endif
}

void
Expand Down

0 comments on commit e34ae29

Please sign in to comment.