Skip to content
Snippets Groups Projects
Commit 0bff9516 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Changing default intialization to handle variable length vectors

parent 7e433c85
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ class ITK_EXPORT PolyLineParametricPathWithValue
ValueType GetValue(void) const
{
ValueType resp = itk::NumericTraits<ValueType>::Zero;
ValueType resp(0);
const itk::MetaDataDictionary & dict = this->GetMetaDataDictionary();
if(dict.HasKey(m_Key))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment