andreimesinger / 21cmFAST

27 stars 34 forks source link

Segmentation Fault while running delta_T #13

Closed anand-avinash closed 5 years ago

anand-avinash commented 5 years ago

Referring to Programs/delta_T.c: For USE_TS_IN_21CM=0 and SUBCELL_RSD=1, delta_T tries to access Ts array in line numbers 357 and 360. But as USE_TS_IN_21CM=0, no memory was allocated to Ts which is producing a segmentation fault.

anand-avinash commented 5 years ago

With the latest commits by @jaehongpark00 , this bug is resolved now. So I am closing this issue.