Skip to content

Commit

Permalink
refs #12694. Type narrowing warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Sep 8, 2015
1 parent 531e357 commit 7c5d62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/MDAlgorithms/src/ReplicateMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ std::vector<int> findAxes(const IMDHistoWorkspace &shapeWS,
for (size_t i = 0; i < dataWS.getNumDims(); ++i) {
const auto dataDim = dataWS.getDimension(i);
if (!dataDim->getIsIntegrated()) {
size_t index = shapeWS.getDimensionIndexById(dataDim->getDimensionId());
int index(shapeWS.getDimensionIndexById(dataDim->getDimensionId()));
axes.push_back(index);
}
}
Expand Down

0 comments on commit 7c5d62b

Please sign in to comment.