mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-24 10:10:18 -06:00
Merge pull request #4801 from bska/skip-needless-work
Inspect Array Element to Decide When to Apply TRAN? Keyword
This commit is contained in:
commit
7419a6ff65
@ -663,7 +663,7 @@ updateFromEclState_(bool global)
|
||||
|
||||
for (auto it = trans.begin(); it != trans.end(); ++it, ++key, ++perform)
|
||||
{
|
||||
if(perform)
|
||||
if(*perform)
|
||||
fp->apply_tran(*key, *it);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user