mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Silence "data loss" warning on windows.
This commit is contained in:
@@ -156,7 +156,7 @@ double RimFractureModelPlot::findValueAtTopOfLayer( const std::vector<double>&
|
||||
const std::vector<std::pair<size_t, size_t>>& layerBoundaryIndexes,
|
||||
size_t layerNo )
|
||||
{
|
||||
int index = layerBoundaryIndexes[layerNo].first;
|
||||
size_t index = layerBoundaryIndexes[layerNo].first;
|
||||
return values.at( index );
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ double RimFractureModelPlot::findValueAtBottomOfLayer( const std::vector<double>
|
||||
const std::vector<std::pair<size_t, size_t>>& layerBoundaryIndexes,
|
||||
size_t layerNo )
|
||||
{
|
||||
int index = layerBoundaryIndexes[layerNo].second;
|
||||
size_t index = layerBoundaryIndexes[layerNo].second;
|
||||
return values.at( index );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user