Merge pull request #490 from bska/fix-index-oob
Ensure Correctly Sized ACTNUM Vector
This commit is contained in:
commit
2ea1b7860f
@ -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