Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tmva/sofie/src/SOFIE_common.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ std::vector<size_t> ConvertShapeToInt(const std::vector<Dim> & shape){
std::size_t ConvertShapeToLength(const std::vector<size_t> & shape){
// Empty shape represent scalar values, so we return a length=1
std::size_t fLength = 1;
for (auto& dim: shape) fLength *= dim;
for (const auto &dim : shape)
fLength *= dim;
return fLength;
}

Expand Down
Loading