mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 04:00:57 -06:00
Octave interface: Fixed switched dimentions on riGetCoarseningInfo
This commit is contained in:
parent
86e8b75e41
commit
88df686902
@ -46,8 +46,8 @@ void getCoarseningInfo(int32NDArray& coarseningInfo, const QString &hostName, qu
|
||||
quint64 boxCount = byteCount / (6 * sizeof(qint32));
|
||||
|
||||
dim_vector dv (1, 1);
|
||||
dv(0) = 6;
|
||||
dv(1) = boxCount;
|
||||
dv(0) = boxCount;
|
||||
dv(1) = 6;
|
||||
|
||||
coarseningInfo.resize(dv);
|
||||
|
||||
@ -67,12 +67,12 @@ void getCoarseningInfo(int32NDArray& coarseningInfo, const QString &hostName, qu
|
||||
socketStream >> k1;
|
||||
socketStream >> k2;
|
||||
|
||||
coarseningInfo(0, i) = i1;
|
||||
coarseningInfo(1, i) = i2;
|
||||
coarseningInfo(2, i) = j1;
|
||||
coarseningInfo(3, i) = j2;
|
||||
coarseningInfo(4, i) = k1;
|
||||
coarseningInfo(5, i) = k2;
|
||||
coarseningInfo(i, 0) = i1;
|
||||
coarseningInfo(i, 1) = i2;
|
||||
coarseningInfo(i, 2) = j1;
|
||||
coarseningInfo(i, 3) = j2;
|
||||
coarseningInfo(i, 4) = k1;
|
||||
coarseningInfo(i, 5) = k2;
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user