diff --git a/src/xSTIR/cSTIR/stir_x.cpp b/src/xSTIR/cSTIR/stir_x.cpp index 9e4b18aac..2e39e262c 100644 --- a/src/xSTIR/cSTIR/stir_x.cpp +++ b/src/xSTIR/cSTIR/stir_x.cpp @@ -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