Ensure Correctly Sized ACTNUM Vector
Size must be equal to number of global (Cartesian) cells.
This commit is contained in:
parent
bff3c0bff1
commit
9fd5ce396b
@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE(ActiveCompletions) {
|
||||
completions.add( completion2 );
|
||||
completions.add( completion3 );
|
||||
|
||||
std::vector<int> actnum(1000,1);
|
||||
std::vector<int> actnum(grid.getCartesianSize(), 1);
|
||||
actnum[0] = 0;
|
||||
grid.resetACTNUM( actnum.data() );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user