diff --git a/DQM/EcalCommon/src/MESetEcal.cc b/DQM/EcalCommon/src/MESetEcal.cc index 869283fb93f95..09372a1e8818e 100644 --- a/DQM/EcalCommon/src/MESetEcal.cc +++ b/DQM/EcalCommon/src/MESetEcal.cc @@ -173,7 +173,7 @@ namespace ecaldqm { } else { binning::AxisSpecs *specs[] = {&xaxis, &yaxis}; for (int iSpec(0); iSpec < 2; iSpec++) { - if (!specs[iSpec]->edges.empty()) { + if (specs[iSpec]->edges.empty()) { specs[iSpec]->edges = std::vector(specs[iSpec]->nbins + 1); int nbins(specs[iSpec]->nbins); double low(specs[iSpec]->low), high(specs[iSpec]->high);