1 parent 56a7d9d commit 63b79b0Copy full SHA for 63b79b0
1 file changed
PWGHF/HFC/Tasks/taskCharmHadronsCharmFemtoDream.cxx
@@ -162,7 +162,7 @@ struct HfTaskCharmHadronsCharmFemtoDream {
162
163
void init(InitContext const&)
164
{
165
- if (static_cast<int>(doprocessD0D0) + doprocessD0Dstar != 1) {
+ if (static_cast<int>(doprocessD0D0) + static_cast<int>(doprocessD0Dstar) != 1) {
166
LOGP(fatal, "Enable exactly one charm-charm analysis process");
167
}
168
if (mixSetting.mixingDepth < 0 || mixSetting.mixingBinPolicy < 0 || mixSetting.mixingBinPolicy > 2 || ptMinD0 < 0 || ptMinD0 >= ptMaxD0 ||
0 commit comments