Skip to content
Snippets Groups Projects
Commit 1682dea4 authored by Zack Galbreath's avatar Zack Galbreath
Browse files

fix error message

Before this change, the wrong name was mentioned when the comparison
array does not exist.

Change-Id: Ib4cee14ae78c5d111ecd245c2d4ab7f553aed8e2
parent 6f11bfee
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ vtkTreeDifferenceFilter::ComputeDifference(vtkTree *tree1, vtkTree *tree2)
if (arrayToCompare1 == NULL)
{
vtkErrorMacro("tree #1's " << dataName <<
" does not have a vtkDoubleArray named " << this->IdArrayName);
" does not have a vtkDoubleArray named " << this->ComparisonArrayName);
return NULL;
}
......@@ -253,7 +253,7 @@ vtkTreeDifferenceFilter::ComputeDifference(vtkTree *tree1, vtkTree *tree2)
if (arrayToCompare2 == NULL)
{
vtkErrorMacro("tree #2's " << dataName <<
" does not have a vtkDoubleArray named " << this->IdArrayName);
" does not have a vtkDoubleArray named " << this->ComparisonArrayName);
return NULL;
}
......
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