Skip to content

Commit be68d64

Browse files
authored
Merge pull request #47 from robertu94/master
update to 3.1.8
2 parents 162674f + e308ebf commit be68d64

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

include/SZ3/utils/Config.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)