Commit c1b714b1 authored by Laurentiu Nicola's avatar Laurentiu Nicola
Browse files

ENH: initialize class field

parent fa93eaec
......@@ -57,7 +57,7 @@ public:
typedef typename TRealVectorPixelType::ValueType RealValueType;
// Constructor (default)
StatisticsAccumulator(){}
StatisticsAccumulator() : m_Count() {}
// Constructor (initialize the accumulator with the given pixel)
StatisticsAccumulator(const TRealVectorPixelType & pixel)
......
Supports Markdown
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