Commit 6d5299cd authored by Aashish Chaudhary's avatar Aashish Chaudhary

STYLE: Updated the error msg to make it clear.

parent b4f82d8e
......@@ -228,8 +228,8 @@ int vtkBoostBetweennessClustering::RequestData(
if(!weights)
{
vtkErrorMacro("Edge weight array " << this->EdgeWeightArrayName
<< " is not found or not a data array");
vtkErrorMacro(<<"Error: Edge weight array " << this->EdgeWeightArrayName
<< " is set but not found or not a data array.\n");
return 1;
}
......@@ -254,7 +254,7 @@ int vtkBoostBetweennessClustering::RequestData(
if(!edgeWeight)
{
vtkErrorMacro(<<"Error: Edge weight array " << this->EdgeWeightArrayName
<< " is set but not found.\n");
<< " is set but not found or not a data array.\n");
return 1;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment