Commit eba2fb49 authored by Robert Maynard's avatar Robert Maynard
Browse files

Fixed some warnings in the DataSetBuilder code.

parent dd312516
......@@ -312,7 +312,6 @@ DataSetBuilderExplicit::BuildDataSet(const vtkm::cont::ArrayHandle<vtkm::Vec<T,3
dataSet.AddCoordinateSystem(vtkm::cont::CoordinateSystem(coordsNm,
1, coords));
vtkm::Id nPts = static_cast<vtkm::Id>(coords.GetNumberOfValues());
vtkm::cont::CellSetSingleType<> cellSet(tag, cellNm);
cellSet.Fill(connectivity);
......
......@@ -93,7 +93,7 @@ void FillArray(std::vector<T> &arr,
arr.resize(static_cast<std::size_t>(size));
for (size_t i = 0; i < static_cast<std::size_t>(size); i++)
{
T xi;
T xi = static_cast<T>(i);
switch (fillMethod)
{
......
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