Commit c679138b authored by Julien Michel's avatar Julien Michel

MRG

parents 20dde2a1 00bd9158
......@@ -224,12 +224,12 @@ public:
IntVectorType histoTemp;
if (m_NeighBinLength != 0)
histoTemp = IntVectorType( vcl_floor( static_cast<double>(this->GetMaxi()-this->GetMini())/m_NeighBinLength)+1., 0);
histoTemp = IntVectorType( static_cast<unsigned int>(vcl_floor( static_cast<double>(this->GetMaxi()-this->GetMini())/m_NeighBinLength)+1.), 0);
else
histoTemp = IntVectorType( 1, 0 );
if (m_OffsetBinLength != 0)
m_Histo = IntVectorVectorType( vcl_floor(static_cast<double>(this->GetMaxiOff()-this->GetMiniOff())/m_OffsetBinLength)+1., histoTemp );
m_Histo = IntVectorVectorType( static_cast<unsigned int>(vcl_floor(static_cast<double>(this->GetMaxiOff()-this->GetMiniOff())/m_OffsetBinLength)+1.), histoTemp );
else
m_Histo = IntVectorVectorType( 1, histoTemp );
......
Markdown is supported
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