Skip to content

Commit 921aaab

Browse files
committed
BUG: Address uninitialized value
Directly initialize IVARs and don't call virutal methods which checks the existing uninitialized value.
1 parent 05a0a1c commit 921aaab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/itkLabelSetMorphBaseImageFilter.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ LabelSetMorphBaseImageFilter<TInputImage, doDilate, TOutputImage>::LabelSetMorph
5050
}
5151
m_UseImageSpacing = false;
5252

53-
this->SetRadius(1);
53+
this->m_Radius.Fill(1);
5454

5555
this->DynamicMultiThreadingOff();
5656
}

0 commit comments

Comments
 (0)