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
if (aname != pair_axis::names[static_cast<int>(i)]) {
125
+
if (aname != pair_axis::names[i]) {
128
126
LOGF(fatal, "rsn::Output::Error: Order in allAxes is not correct !!! Expected axis '%s' and has '%s'.", aname.c_str(), pair_axis::names[static_cast<int>(i)]);
129
127
}
130
128
}
@@ -141,9 +139,8 @@ class Output
141
139
mCurrentAxisTypes.push_back(currentType);
142
140
}
143
141
144
-
if (mFillPoint != nullptr) {
145
-
deletemFillPoint;
146
-
}
142
+
deletemFillPoint;
143
+
147
144
mFillPoint = newdouble[mCurrentAxisTypes.size()];
148
145
149
146
LOGF(info, "Number of axis added: %d", mCurrentAxes.size());
@@ -153,7 +150,7 @@ class Output
153
150
for (int i = 0; i < static_cast<int>(SystematicsAxisType::unknown); i++) {
if (aname != systematic_axis::names[static_cast<int>(i)]) {
153
+
if (aname != systematic_axis::names[i]) {
157
154
LOGF(fatal, "rsn::Output::Error: Order in allAxes_sys is not correct !!! Expected axis '%s' and has '%s'.", aname.c_str(), systematic_axis::names[static_cast<int>(i)]);
0 commit comments