File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -181,15 +181,15 @@ namespace SZ3 {
181181 return sizeof (size_t ) * 5 + sizeof (double ) * 4 + sizeof (bool ) * 5 + sizeof (uint8_t ) * 6 + sizeof (int ) * 5 + 50 ; // 50 is for redundancy
182182 }
183183
184- char N;
184+ char N = 0 ;
185185 std::vector<size_t > dims;
186- size_t num;
186+ size_t num = 0 ;
187187 uint8_t cmprAlgo = ALGO_INTERP_LORENZO;
188188 uint8_t errorBoundMode = EB_ABS;
189- double absErrorBound;
190- double relErrorBound;
191- double psnrErrorBound;
192- double l2normErrorBound;
189+ double absErrorBound = 0.0 ;
190+ double relErrorBound = 0.0 ;
191+ double psnrErrorBound = 0.0 ;
192+ double l2normErrorBound = 0.0 ;
193193 bool lorenzo = true ;
194194 bool lorenzo2 = false ;
195195 bool regression = true ;
@@ -201,9 +201,9 @@ namespace SZ3 {
201201 uint8_t interpDirection = 0 ;
202202 int interpBlockSize = 32 ;
203203 int quantbinCnt = 65536 ;
204- int blockSize;
205- int stride; // not used now
206- int pred_dim; // not used now
204+ int blockSize = 0 ;
205+ int stride = 0 ; // not used now
206+ int pred_dim = 0 ; // not used now
207207
208208 };
209209
You can’t perform that action at this time.
0 commit comments