Commit c903fe94 authored by Joachim Pouderoux's avatar Joachim Pouderoux
Browse files

Fix warning on HTG 2D FullMaterial test.

Change-Id: Ia3f85f0d0ccf18993dbbdd63ede5ec4fa963da79
parent a45a52a1
...@@ -165,7 +165,7 @@ int TestHyperTreeGridTernary2DFullMaterialBits( int argc, char* argv[] ) ...@@ -165,7 +165,7 @@ int TestHyperTreeGridTernary2DFullMaterialBits( int argc, char* argv[] )
idArray->SetNumberOfComponents( 1 ); idArray->SetNumberOfComponents( 1 );
vtkIdType nbPoints = htGrid->GetOutput()->GetNumberOfPoints(); vtkIdType nbPoints = htGrid->GetOutput()->GetNumberOfPoints();
idArray->SetNumberOfValues( nbPoints ); idArray->SetNumberOfValues( nbPoints );
for ( unsigned int i = 0; i < nbPoints; ++ i ) for ( vtkIdType i = 0; i < nbPoints; ++ i )
{ {
idArray->SetValue( i, i ); idArray->SetValue( i, i );
} }
......
Supports Markdown
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