Unsupported keywords write negative values
This provides easier-to-identify behaviour than simply writing zero and going on its merry way.
This commit is contained in:
parent
a0706a32af
commit
107015a57c
@ -454,7 +454,7 @@ inline double well_keywords( const smspec_node_type* node,
|
||||
|
||||
case E::UNSUPPORTED:
|
||||
default:
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -544,7 +544,7 @@ inline double group_keywords( const smspec_node_type* node,
|
||||
case E::GGOR: return gor( rate( rt::gas ), rate( rt::oil ) );
|
||||
|
||||
default:
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user