BeamSolver retains global state
Closed this issue · 6 comments
robnagler commented
beam_solver_test.py doesn't pass, because there's global state held in BeamSolver. The individual cases pass, but something in the library holds state that it shouldn't.
robnagler commented
run as separate tests.
robnagler commented
This is a different bug.
robnagler commented
This is really still a problem if you are using BeamSolver more than once in a program. Generally not what we do in the agent, but still is a bug. If using in a IPython notebook, this could be a problem.
bruhwiler commented
This is consistent with my experience from using Hellweg as compiled for windows. You don't execute the solver more than once -- you have to exit the application and restart.
bruhwiler commented
Closing here. I'll create a separate issue to address this bug in the future.