mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Linux compile fixes
This commit is contained in:
@@ -902,7 +902,7 @@ RigWellResultPoint RifReaderEclipseOutput::createWellResultPoint(const RigGridBa
|
||||
}
|
||||
|
||||
// Introduced based on discussion with H<>kon H<>gst<73>l 08.09.2016
|
||||
if (cellK >= grid->cellCountK())
|
||||
if (cellK >= static_cast<int>(grid->cellCountK()))
|
||||
{
|
||||
int maxCellKIndex = static_cast<int>(grid->cellCountK() - 1);
|
||||
cvf::Trace::show("Well Connection for grid " + cvf::String(grid->gridName()) + "\n - Detected invalid K value (K=" + cvf::String(cellK) + ") for well : " + cvf::String(wellName) + " K clamped to " + cvf::String(maxCellKIndex));
|
||||
|
||||
Reference in New Issue
Block a user