mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6301 Fix warnings on windows.
This commit is contained in:
parent
fe6ece0df7
commit
b4007d4b0d
@ -413,7 +413,7 @@ RigFemScalarResultFrames* RigFemPartResultCalculatorMudWeightWindow::calculate(
|
||||
size_t kElmIdx = femPartGrid->cellIndexFromIJK( i, j, currentK );
|
||||
if ( kElmIdx != cvf::UNDEFINED_SIZE_T && femPart->isHexahedron( kElmIdx ) )
|
||||
{
|
||||
size_t kElmNodResIdx = femPart->elementNodeResultIdx( kElmIdx, elmNodIdx );
|
||||
size_t kElmNodResIdx = femPart->elementNodeResultIdx( static_cast<int>( kElmIdx ), elmNodIdx );
|
||||
|
||||
float currentLowerMudWeightLimit = lowerMudWeightLimitFrameData[kElmNodResIdx];
|
||||
if ( currentLowerMudWeightLimit > maxLowerMudWeightLimit )
|
||||
@ -464,7 +464,7 @@ cvf::Vec3d RigFemPartResultCalculatorMudWeightWindow::calculateWellPathTangent(
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigFemPartResultCalculatorMudWeightWindow::loadParameterFramesOrValue(
|
||||
RimMudWeightWindowParameters::ParameterType parameterType,
|
||||
size_t partIndex,
|
||||
int partIndex,
|
||||
std::map<RimMudWeightWindowParameters::ParameterType, RigFemScalarResultFrames*>& parameterFrames,
|
||||
std::map<RimMudWeightWindowParameters::ParameterType, float>& parameterValues )
|
||||
{
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
void loadParameterFramesOrValue( RimMudWeightWindowParameters::ParameterType parameterType,
|
||||
size_t partIndex,
|
||||
int partIndex,
|
||||
std::map<RimMudWeightWindowParameters::ParameterType, RigFemScalarResultFrames*>& parameterFrames,
|
||||
std::map<RimMudWeightWindowParameters::ParameterType, float>& parameterValues );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user