Skip to content

Commit

Permalink
STYLE: Applying clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Mar 1, 2022
1 parent 37a9ede commit e518b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/itkMorphologicalContourInterpolator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -1422,9 +1422,9 @@ MorphologicalContourInterpolator< TImage >::InterpolateAlong( int axis, TImage*
jconn->DisconnectPipeline();
int jReq = *next < reqRegion.GetIndex( axis ) ? -1 : ( *next > reqRegion.GetIndex( axis ) + IndexValueType( reqRegion.GetSize( axis ) ) ? +1 : 0 );

if ( *prev + 1 < *next // only if they are not adjacent slices
if ( *prev + 1 < *next // only if they are not adjacent slices
&& itk::Math::abs( iReq + jReq ) <= 1 ) // and not out of the requested region
// unless they are on opposite ends
// unless they are on opposite ends
{
SegmentBetweenTwo< TImage > s;
s.axis = axis;
Expand Down

0 comments on commit e518b40

Please sign in to comment.