Skip to content
Snippets Groups Projects
Commit 4ff7504a authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Fix out-of-bounds array access

parent 207ce563
No related branches found
No related tags found
No related merge requests found
Pipeline #3082 failed
......@@ -75,7 +75,7 @@ void test()
FieldVector<double,dim> pos(0);
factory.insertVertex(pos);
for (int i=0; i<domainDim+1; i++) {
for (int i=0; i<domainDim; i++) {
pos = 0;
pos[i] = 1;
factory.insertVertex(pos);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment