Merge pull request #526 from andlaus/endpoint_scaling_correct_revers_condition
endpoint scaling: invert condition
This commit is contained in:
commit
24e4d087d8
@ -212,7 +212,7 @@ namespace Opm
|
||||
"SaturationPropsFromDeck::init() -- ENDSCALE: "
|
||||
"Currently only 'NODIR' accepted.");
|
||||
}
|
||||
if (endscale.isReversible()) {
|
||||
if (!endscale.isReversible()) {
|
||||
OPM_THROW(std::runtime_error,
|
||||
"SaturationPropsFromDeck::init() -- ENDSCALE: "
|
||||
"Currently only 'REVERS' accepted.");
|
||||
|
Loading…
Reference in New Issue
Block a user