Fixed the max recursion depth. Found that the program was struggling making a split decision between prioritizing lower channel count or lower storage count which was causing the recursion error; to help nudge the program out of a indecision loop like this, or (surplus_channels == 0 and surplus_storage < min_surplus_channels) was added to give it more weight on filling out our surplus counts first.
[!NOTE]
May need to add or (surplus_channels == 0 and surplus_storage < min_surplus_channels)
at some point in the future to give it weight on deciding how to dish out storage once channels are complete in the future.
This has not yet been observed behavior
Fixes #28
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Feature Name
Description
Fixed the max recursion depth. Found that the program was struggling making a split decision between prioritizing lower channel count or lower storage count which was causing the recursion error; to help nudge the program out of a indecision loop like this,
or (surplus_channels == 0 and surplus_storage < min_surplus_channels)
was added to give it more weight on filling out our surplus counts first.Fixes #28
Type of change
How Has This Been Tested?
Checklist