njoy / NJOY2016

Nuclear data processing with legacy NJOY
https://www.njoy21.io/NJOY2016
Other
96 stars 86 forks source link

BROADR segfaults on missing MF1/MT452 #72

Open whaeck opened 6 years ago

whaeck commented 6 years ago

An evaluation that has LFI=1 needs to have an MF1/MT452 section in it. However, this is never actually tested (not in moder, reconr and broadr). As a result, the nutot array is never allocated which leads to a segmentation fault when broadr computes the total nubar for output at 293.6 K. I think (this has not been verified) that this segmentation fault only occurs when the temperature is 293.6 K.