mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclOutputBlackoilModule: explicitly cast to int to avoid narrowing warning
This commit is contained in:
@@ -742,7 +742,7 @@ public:
|
||||
const auto cellIndex = activeIndex(elem);
|
||||
|
||||
return {
|
||||
cellIndex,
|
||||
static_cast<int>(cellIndex),
|
||||
cartesianIndex(cellIndex),
|
||||
elem.partitionType() == Dune::InteriorEntity
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user