Skip to content

Commit

Permalink
Correct comparison to objects, not sptr
Browse files Browse the repository at this point in the history
  • Loading branch information
robbietuk committed Sep 4, 2024
1 parent ca1140c commit 2935b99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ MLEstimateComponentBasedNormalisation(std::string out_filename_prefix_v,
do_display(do_display_v),
do_save_to_file(do_save_to_file_v)
{
if (measured_projdata_v.get_proj_data_info_sptr() != model_projdata_v.get_proj_data_info_sptr())
if (*measured_projdata_v.get_proj_data_info_sptr() != *model_projdata_v.get_proj_data_info_sptr())
{
error("MLEstimateComponentBasedNormalisation: measured and model data have different ProjDataInfo");
}
Expand Down

0 comments on commit 2935b99

Please sign in to comment.