Skip to content

Commit

Permalink
attempted to fix narrowing conversion in getGrid function, Ref #30
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhille committed Jan 31, 2025
1 parent ce74412 commit b70a807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrmd/data/MultiHistogram.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ struct MultiHistogram
ScalarView grid("grid", numBins);
for (auto i = 0; i < numBins; ++i)
{
grid[i] = min + (i + 0.5_r) * (max - min) / numBins;
grid[i] = min + (i + 0.5_r) * (max - min) / real_c(numBins);
}
return grid;
}
Expand Down

0 comments on commit b70a807

Please sign in to comment.