mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Do not use deprecated Octave functions
https://github.com/OPM/ResInsight/commit/b5ad0b9170f14b1c0f90c9e9292c93fabc744e35 p4#: 21106
This commit is contained in:
1 parent
e49895ea65
commit
70347c281f
2 files changed
+2
-2
No files matched your search
@@ -52,7 +52,7 @@ void getActiveCellInfo(int32NDArray& activeCellInfo, const QString &hostName, qu
|
||||
|
||||
activeCellCount = byteCount / sizeof(qint32);
|
||||
|
||||
dim_vector dv (2);
|
||||
dim_vector dv (2, 1);
|
||||
dv(0) = activeCellCount;
|
||||
dv(1) = timestepCount;
|
||||
activeCellInfo.resize(dv);
|
||||
|
||||
@@ -51,7 +51,7 @@ void getMainGridDimensions(int32NDArray& gridDimensions, const QString &hostName
|
||||
socketStream >> jCount;
|
||||
socketStream >> kCount;
|
||||
|
||||
dim_vector dv (1);
|
||||
dim_vector dv (1, 1);
|
||||
dv(0) = 3;
|
||||
|
||||
gridDimensions.resize(dv);
|
||||
|
||||
Reference in new issue
Block a user