Nov-16-2018, 12:40 AM
That code needs some serious refactoring. I've been digging into it for a few... twenty minutes... -ish... and I haven't sussed out the deal with E. That global variable doesn't appear do actually do anything in the code. Every subsequent instance when a variable E is used, the variable is instantiated in a for loop, so the global isn't being used at all, it seems. Plus, it gets set as a global from a function - very bad practice.
Can you provide the expected results for the problematic functions when given known arguments?
Can you provide the expected results for the problematic functions when given known arguments?