diff --git a/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h b/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h index b2fad7266..c719e1b87 100644 --- a/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h +++ b/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h @@ -910,10 +910,12 @@ The actual algorithm is described in { stir::ScatterEstimation::set_mask_proj_data_sptr(arg->data()); } - void set_recompute_mask_image(bool arg) +#if STIR_VERSION >= 060200 + void set_recompute_mask_image(bool arg) { stir::ScatterEstimation::set_recompute_mask_image(arg); } +#endif //! Set prefix for filenames with scatter estimates. /*!