Skip to content
Snippets Groups Projects
Commit eeb74bdf authored by David Gobbi's avatar David Gobbi Committed by Lucas Givord
Browse files

Fix miscount in TestReflectionFilter

Not enough tuples were added to the arrays.

(cherry picked from commit 022be287)
parent bf6a21be
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ int TestReflectionFilter(int, char*[])
array->InsertNextTuple(tuple);
array->InsertNextTuple(tuple);
array->InsertNextTuple(tuple);
array->InsertNextTuple(tuple);
pd->AddArray(array);
vtkNew<vtkDoubleArray> tensor;
......@@ -53,6 +54,7 @@ int TestReflectionFilter(int, char*[])
tensor->InsertNextTuple(tensorTuple);
tensor->InsertNextTuple(tensorTuple);
tensor->InsertNextTuple(tensorTuple);
tensor->InsertNextTuple(tensorTuple);
pd->SetTensors(tensor);
vtkCellData* cd = pyramid->GetCellData();
......@@ -63,6 +65,7 @@ int TestReflectionFilter(int, char*[])
symTensor->InsertNextTuple(symTensorTuple);
symTensor->InsertNextTuple(symTensorTuple);
symTensor->InsertNextTuple(symTensorTuple);
symTensor->InsertNextTuple(symTensorTuple);
cd->AddArray(symTensor);
}
......
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