mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#11355 Use category if result name starts with FIP or ends with NUM
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "RiaCellDividingTools.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaResultNames.h"
|
||||
#include "RiaStringEncodingTools.h"
|
||||
#include "RiaTextStringTools.h"
|
||||
|
||||
@@ -439,7 +440,7 @@ bool RifEclipseInputFileTools::exportKeywords( const QString& resul
|
||||
if ( resultValues.empty() ) continue;
|
||||
|
||||
double defaultExportValue = 0.0;
|
||||
if ( keyword.endsWith( "NUM" ) )
|
||||
if ( RiaResultNames::isCategoryResult( keyword ) )
|
||||
{
|
||||
defaultExportValue = 1.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user