mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixed Eigen array dimensions must be respected in resize().
This commit is contained in:
parent
c5ae85e480
commit
de2a52bbda
@ -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.
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user