We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba29df4 + a508591 commit 45f7ef9Copy full SHA for 45f7ef9
1 file changed
src/TRestDetectorHitsEventViewer.cxx
@@ -52,7 +52,7 @@ void TRestDetectorHitsEventViewer::AddEvent(TRestEvent* ev) {
52
}
53
54
Double_t slope;
55
- if (eDepMin == eDepMin)
+ if (eDepMin == eDepMax)
56
slope = 0;
57
else
58
slope = (fMaxRadius - fMinRadius) / (eDepMax - eDepMin);
0 commit comments