File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -638,8 +638,9 @@ class BinT : public BaseConverter {
638
638
setBinSize (binSize);
639
639
setAverage (average);
640
640
this ->partialBinSize = 0 ;
641
- this ->partialBin = new T[channels];
642
- std::fill (this ->partialBin , this ->partialBin + channels, 0 ); // Initialize partialBin with zeros
641
+ // this->partialBin = new T[channels];
642
+ // std::fill(this->partialBin, this->partialBin + channels, 0); // Initialize partialBin with zeros
643
+ this ->partialBin = new T[channels]();
643
644
}
644
645
645
646
~BinT () {
@@ -1012,8 +1013,9 @@ class ChannelBinDiffT : public BaseConverter {
1012
1013
setBinSize (binSize);
1013
1014
setAverage (average);
1014
1015
this ->partialBinSize = 0 ;
1015
- this ->partialBin = new T[channels];
1016
- std::fill (this ->partialBin , this ->partialBin + channels, 0 ); // Initialize partialBin with zeros
1016
+ // this->partialBin = new T[channels];
1017
+ // std::fill(this->partialBin, this->partialBin + channels, 0); // Initialize partialBin with zeros
1018
+ this ->partialBin = new T[channels]();
1017
1019
}
1018
1020
1019
1021
~ChannelBinDiffT () {
You can’t perform that action at this time.
0 commit comments