DrylandEcology / STEPWAT2

folder
4 stars 5 forks source link

Uninitialized Variables #563

Closed alexisBelt closed 10 months ago

alexisBelt commented 11 months ago

Globals->sppCount and Globals->grpCount are uninitialized variables that are only changed with the increment operator. Most of the time the code supplies us with a starting value of '0', but occasionally it'll give us a garbage value other than '0'. We'll want to initialize these variables to stop this from happening. There might be other uninitialized variables that could be contributing to biomass being less than 0 in some iterations.