Skip to content

Commit 6f1b574

Browse files
committed
Fixes
1 parent c628d7c commit 6f1b574

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Common/TableProducer/multCentTable.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ struct MultCentTable {
165165
// it is thus safer to always keep the actual process function for centrality
166166
// generation to true, since the requisites for being in this context are
167167
// always fulfilled
168-
if (collisions.size() != static_cast<size_t>(mults.size())) {
168+
if (collisions.size() != static_cast<int64_t>(mults.size())) {
169169
LOGF(fatal, "Size of collisions doesn't match size of multiplicity buffer!");
170170
}
171171
module.generateCentralitiesRun2(ccdb, metadataInfo, bcs, mults, products);
@@ -180,7 +180,7 @@ struct MultCentTable {
180180
// it is thus safer to always keep the actual process function for centrality
181181
// generation to true, since the requisites for being in this context are
182182
// always fulfilled
183-
if (collisions.size() != static_cast<size_t>(mults.size())) {
183+
if (collisions.size() != static_cast<int64_t>(mults.size())) {
184184
LOGF(fatal, "Size of collisions doesn't match size of multiplicity buffer!");
185185
}
186186
module.generateCentralitiesRun3(ccdb, metadataInfo, bcs, mults, products);

Common/Tools/MultModule.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
#ifndef COMMON_TOOLS_MULTMODULE_H_
1717
#define COMMON_TOOLS_MULTMODULE_H_
1818

19+
#include <vector>
1920
#include <memory>
2021
#include <cstdlib>
2122
#include <cmath>
2223
#include <array>
2324
#include <string>
25+
#include <map>
2426
#include "Framework/AnalysisDataModel.h"
2527
#include "Framework/Configurable.h"
2628
#include "Framework/HistogramSpec.h"

0 commit comments

Comments
 (0)