This allows the asymmetry correction to be applied right after restart.
inst->strata[j]);
}
+
+ fprintf(out, "%d\n", inst->asymmetry_run);
}
/* ================================================== */
UTI_NormaliseTimespec(&inst->sample_times[i]);
}
}
+
+ /* This field was not saved in older versions */
+ if (!fgets(line, sizeof(line), in) || sscanf(line, "%d\n", &inst->asymmetry_run) != 1)
+ inst->asymmetry_run = 0;
} else {
inst->n_samples = 0; /* Load abandoned if any sign of corruption */
return 0;