mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-14 01:42:01 -05:00
Fixed Eigen array dimensions must be respected in resize().
This commit is contained in:
1 parent
c5ae85e480
commit
de2a52bbda
1 file changed
+1
-1
@@ -109,7 +109,7 @@ struct HelperOps
|
||||
nnc_trans = Eigen::Map<const V>(nnc->trans().data(), numNNC);
|
||||
} else {
|
||||
nnc_trans.resize(0);
|
||||
nnc_cells.resize(0,0);
|
||||
nnc_cells.resize(0, 2); // Required to have two columns.
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user