mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
#2350 Elm props: Fix crash when table has only one data column
This commit is contained in:
1 parent
e22ceb5cc2
commit
0dc0533501
1 file changed
+1
-1
@@ -124,7 +124,7 @@ void RifElementPropertyTableReader::readData(const RifElementPropertyMetadata *m
|
||||
|
||||
if (!dataBlockFound)
|
||||
{
|
||||
if (!line.startsWith("*") && cols.size() == expectedColumnCount) dataBlockFound = true;
|
||||
if (!line.startsWith("*") && !line.startsWith(",") && cols.size() == expectedColumnCount) dataBlockFound = true;
|
||||
else continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user