Skip to content
Snippets Groups Projects
Commit f51d4720 authored by Ken Martin's avatar Ken Martin
Browse files

fix comiler warning on string to numeric

vtkStringToNumeric.cxx:274:57: warning: '*' in boolean context
parent ba966a2e
No related branches found
No related tags found
No related merge requests found
......@@ -271,7 +271,7 @@ void vtkStringToNumeric::ConvertArrays(vtkFieldData* fieldData)
{
// Calling AddArray will replace the old array since the names match.
// Are they all ints, and did I test anything?
if (!this->ForceDouble && allInteger && (numTuples*numComps))
if (!this->ForceDouble && allInteger && numTuples && numComps)
{
fieldData->AddArray(intArray);
}
......
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