You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/stale.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ jobs:
17
17
with:
18
18
repo-token: ${{ secrets.GITHUB_TOKEN }}
19
19
stale-pr-message: 'This PR has not been updated in the last 30 days. Is it still needed? Unless further action is taken, it will be closed in 5 days.'
20
+
stale-issue-message: 'This issue has not been updated in the last 30 days. Is it still needed? Unless further action is taken, it will be closed in 5 days.'
// First point has to be at 0, last point has to be at 2PI
97
97
if ((i == 0 && x != 0.f) || (i == mDeadPhiRegions->GetN() - 1 && x != o2::constants::math::TwoPI)) {
98
-
LOG(fatal) << "Dead phi regions graph for layer " << name << " has invalid x value " << x << " at point " << i << ", first point should be 0 and last point should be 2PI";
98
+
LOG(fatal) << "Dead phi regions graph for layer " << mName << " has invalid x value " << x << " at point " << i << ", first point should be 0 and last point should be 2PI";
99
99
}
100
100
LOG(debug) << "Point " << i << ": (" << x << ", " << y << ")";
101
101
if (x < 0 || x > o2::constants::math::TwoPI) {
102
-
LOG(fatal) << "Dead phi regions graph for layer " << name << " has invalid x value " << x << " at point " << i;
102
+
LOG(fatal) << "Dead phi regions graph for layer " << mName << " has invalid x value " << x << " at point " << i;
103
103
}
104
-
if (y != 0.f && y != 2.f) {
105
-
LOG(fatal) << "Dead phi regions graph for layer " << name << " has invalid y value " << y << " at point " << i << ", should be 0 or 2";
104
+
staticconstexprfloat EffValidLowValue = 0.f;
105
+
staticconstexprfloat EffValidHighValue = 2.f;
106
+
if (y != EffValidLowValue && y != EffValidHighValue) {
107
+
LOG(fatal) << "Dead phi regions graph for layer " << mName << " has invalid y value " << y << " at point " << i << ", should be 0 or 2";
106
108
}
107
109
}
108
110
} else {
109
-
LOG(info) << "Cleared dead phi regions for layer " << name;
111
+
LOG(info) << "Cleared dead phi regions for layer " << mName;
0 commit comments