calib/calib.c: use designated initialization for ecalib_defaults
@@ -560,7 +560,23 @@ void calone_dims(const struct ecalib_conf* conf, long cov_dims[4], long channels
-const struct ecalib_conf ecalib_defaults = { { 6, 6, 6 }, 0.001, -1, -1., false, false, 0.8, true, false, -1., false, true, -1., false };
+const struct ecalib_conf ecalib_defaults = {
+
+ .kdims = {6, 6, 6},
+ .threshold = 0.001,
+ .numsv = -1,
+ .percentsv = -1.,
+ .weighting = false,
+ .softcrop = false,
+ .crop = 0.8,
+ .orthiter = true,
+ .usegpu = false,
+ .perturb = -1.,
+ .intensity = false,
+ .rotphase = true,
+ .var = -1.,
+ .automate = false,
+};
