rwesson / NEAT

Empirical analysis of ionised nebulae, with uncertainty propagation
GNU General Public License v3.0
9 stars 5 forks source link

Strange floating point error #44

Closed rwesson closed 8 years ago

rwesson commented 8 years ago

When compiled with gfortran and CO=debug3, the code gives a floating point error when calculating the SII density. This happens only with this ion, only with certain line lists, and occurs in the CFY subroutine of equib_routines. Inputs to the subroutine appear to be undefined somehow.

rwesson commented 8 years ago

Fixed by initialising a variable which otherwise contained undefined elements in certain circumstances. 52de912298e0e71770a09daa78024bd95252c9d2