Commit db75c53c authored by Mathieu Westphal's avatar Mathieu Westphal

Correcting a cast in TestVTKMHistogram

parent dd91b1df
......@@ -272,7 +272,7 @@ void VerifyHistogram(vtkmHistogram* filter, bool verifyPointData)
}
assert(binExtents->GetNumberOfComponents() == 1);
assert(binExtents->GetNumberOfTuples() == filter->GetNumberOfBins());
assert(static_cast<size_t>(binExtents->GetNumberOfTuples()) == filter->GetNumberOfBins());
vtkDataArray* binValues = vtkDataArray::SafeDownCast(table->GetRowData()->
GetAbstractArray("bin_values"));
......@@ -370,7 +370,7 @@ int TestVTKMHistogram(int, char*[])
}
assert(binExtents != nullptr);
assert(binExtents->GetNumberOfComponents() == 1);
assert(binExtents->GetNumberOfTuples() == filter->GetNumberOfBins());
assert(static_cast<size_t>(binExtents->GetNumberOfTuples()) == filter->GetNumberOfBins());
vtkDataArray* binValues = vtkDataArray::SafeDownCast(sdTable->GetRowData()->
GetAbstractArray("bin_values"));
......
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