From: Pascal Obry Date: Thu, 20 Feb 2020 14:38:23 +0000 (+0100) Subject: SMDS: Minor style fixes. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2b9c7dbd890282cbf0f08137fe4dc91f8d9325b1;p=modules%2Fsmesh.git SMDS: Minor style fixes. --- diff --git a/src/SMDS/SMDS_UnstructuredGrid.cxx b/src/SMDS/SMDS_UnstructuredGrid.cxx index 1ebbc9b72..0a928ad11 100644 --- a/src/SMDS/SMDS_UnstructuredGrid.cxx +++ b/src/SMDS/SMDS_UnstructuredGrid.cxx @@ -46,7 +46,7 @@ void SMDS_CellLinks::ResizeForPoint(vtkIdType vtkID) if ( vtkID > this->MaxId ) { this->MaxId = vtkID; - if ( vtkID >= this->Size ) + if ( vtkID >= this->Size ) vtkCellLinks::Resize( vtkID+SMDS_Mesh::chunkSize ); } } @@ -1204,4 +1204,3 @@ double SMDS_UnstructuredGrid::GetBallDiameter( vtkIdType vtkID ) const return vtkDoubleArray::SafeDownCast( vtkDataSet::CellData->GetScalars() )->GetValue( vtkID ); return 0; } -