Fixed bug in WELOPEN for all defaulted.

This commit is contained in:
Joakim Hove
2015-07-24 11:45:17 +02:00
parent 44ba386bcc
commit e6343e1b0b

View File

@@ -516,7 +516,8 @@ namespace Opm {
bool haveCompletionData = false;
for (size_t i=2; i<7; i++) {
if (record->getItem(i)->hasValue(0)) {
auto item = record->getItem(i);
if (!item->defaultApplied(0)) {
haveCompletionData = true;
break;
}