Ticket #61 (closed defect - FPE: fixed)
punch hydrogen ionization causes FPE
| Reported by: | peter | Owned by: | peter |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | output | Version: | |
| Keywords: | Cc: |
Description
The following bug report was posted by Killian Braun on the cloudy_simulations group.
I used version 07.02.01 (and 07.02.00) of Cloudy with the input given below and the program stopped because of a floating point exception. If I remove either one of the "atom" commands or the "punch hydrogen ionization" command, everything works fine. The punch command seems to interfere with the other commands. Is there a way to fix this?
The bug is confirmed with r1888 of the trunk. The crash happens on line 1852 of punch_do.cpp while executing the PUNCH HYDROGEN IONIZATION command. It is caused by a division by a zero abundance for H+.
