mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Minor code cleanup
This commit is contained in:
parent
50a766591b
commit
62c7007654
@ -58,7 +58,7 @@ bool RifGeoMechReaderInterface::isTimeStepIncludedByFilter( int timeStepIndex )
|
||||
|
||||
for ( auto i : m_fileTimeStepIndices )
|
||||
{
|
||||
if ( i == static_cast<size_t>( timeStepIndex ) )
|
||||
if ( i == timeStepIndex )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2023- Equinor ASA
|
||||
// Copyright (C) 2023 Equinor ASA
|
||||
//
|
||||
// ResInsight is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@ -16,8 +16,6 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RifInpIncludeReader.h"
|
||||
|
||||
#include "RiaStdStringTools.h"
|
||||
@ -89,7 +87,7 @@ void RifInpIncludeReader::readData( int columnIndex, const std::map<int, std::st
|
||||
|
||||
// is the requested column present?
|
||||
auto columns = RiaStdStringTools::splitString( line, ',' );
|
||||
if ( columnIndex >= columns.size() ) continue;
|
||||
if ( columnIndex >= (int)columns.size() ) continue;
|
||||
|
||||
// split part/set/node/element in first column
|
||||
auto partNode = RiaStdStringTools::splitString( columns[0], '.' );
|
||||
|
Loading…
Reference in New Issue
Block a user