MIT-LAE / APCEMM

Aircraft Plume Chemistry, Emissions, and Microphysics Model
MIT License
9 stars 17 forks source link

Fixed two bugs and increased debug info #50

Closed sdeastham closed 1 month ago

sdeastham commented 1 month ago

Two bugs were identified and fixed. First, a loop over altitudes could be entered in a way which would never terminate; it's not actually clear why this was not always happening. Second, a variable was being allocated too little memory by one (lapseInit_), resulting in memory corruption. The debugger compile flags used when -DCMAKE_BUILD_TYPE=Debug is selected have also been pared down (removing -gdwarf-2 and gstrict-dwarf) so that more advanced debugging can be performed.