Skip to content

Commit

Permalink
fix bug with VirtualSegmentation for new SpatialResolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Granado committed Sep 18, 2024
1 parent a866b1d commit 75ccaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/digits_hits/src/GateVirtualSegmentationSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ void GateVirtualSegmentationSD::SetParameters()



if(digi_SpatialResolution->GetFWHMxdistrib()||digi_SpatialResolution->GetFWHMydistrib()||digi_SpatialResolution->GetFWHMxydistrib())
if(digi_SpatialResolution->GetFWHMxdistrib()||digi_SpatialResolution->GetFWHMydistrib()||digi_SpatialResolution->GetFWHMxydistrib2D())
{
GateError("***ERROR*** No value of the target pitch has been provided and no value can be obtained from the spatial resolution distribution. /n Please provide a value for the pitch that is at least half of the minimum value of the distribution. ");
}
Expand Down

0 comments on commit 75ccaec

Please sign in to comment.