EclOutputBlackoilModule: explicitly cast to int to avoid narrowing warning

This commit is contained in:
Arne Morten Kvarving
2022-11-14 15:40:57 +01:00
parent f9f6fdb3bf
commit f7de591682

View File

@@ -742,7 +742,7 @@ public:
const auto cellIndex = activeIndex(elem); const auto cellIndex = activeIndex(elem);
return { return {
cellIndex, static_cast<int>(cellIndex),
cartesianIndex(cellIndex), cartesianIndex(cellIndex),
elem.partitionType() == Dune::InteriorEntity elem.partitionType() == Dune::InteriorEntity
}; };