Minor code cleanup

This commit is contained in:
Jon Jenssen authored and jonjenssen committed 2024-01-03 12:44:10 +01:00
1 parent 50a766591b
commit 62c7007654
2 files changed
+3 -5

No files matched your search

@@ -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], '.' );