Input data with a sample size of 1 yields a segmentation fault in aalcalc when no Average Loss Convergence Table (ALCT) is requested. This is because the vector vec_sample_aal_ is not resized correctly under these circumstances. The work around is to request the ALCT output on the command line:
Issue Description
Input data with a sample size of 1 yields a segmentation fault in
aalcalc
when no Average Loss Convergence Table (ALCT) is requested. This is because the vectorvec_sample_aal_
is not resized correctly under these circumstances. The work around is to request the ALCT output on the command line:Steps to Reproduce (Bugs only)
Run PiWind with sample size of 1 (set
"number_of_samples": 1
inanalysis_settings.json
).Version / Environment information
Bug introduced in ktools v3.9.0, corresponding to MDK v1.26.0. This was when the ALCT was introduced.