Merge pull request #8519 from magnesj/simplify-windows-env

Simplify GitHub Action and support windows-2022
This commit is contained in:
Magne Sjaastad
2022-02-04 08:45:38 +01:00
committed by GitHub
parent 2c0ebfd14c
commit 358c11264a
2 changed files with 12 additions and 40 deletions

View File

@@ -32,6 +32,7 @@
#include <QTextStream>
#include <algorithm>
#include <cmath>
#include <numeric>
//--------------------------------------------------------------------------------------------------
@@ -186,7 +187,9 @@ bool RifEclipseUserDataParserTools::isANumber( const std::string& line )
{
try
{
std::stod( line );
auto value = std::stod( line );
if ( std::isinf( value ) || std::isnan( value ) ) return false;
return true;
}
catch ( ... )
{