1.) Fixing a bug in integrate.py. If "lsoda" used without calculate_jacob_analytical resulted in an error. This fixes that error by adding self.jac_fn = None.
2.) Removed calls from loop in simulator.calc_obs. Function calls were redundant inside loops were caused considerable overhead.
Coverage decreased (-2.6%) to 68.667% when pulling 1727589f31aa5df2ab7c370663b9fb93dbbc8a27 on cupsoda_simulator into eaa61917a043f83851ef9fb099d0f857161ef1d7 on master.
Coverage decreased (-0.07%) to 71.206% when pulling f8e31b35dd80d1342f044931600de33bc58894b1 on cupsoda_simulator into eaa61917a043f83851ef9fb099d0f857161ef1d7 on master.
Coverage decreased (-0.06%) to 68.667% when pulling c85fa4325f12a30f9f9dc0e5af6186a437f7f74a on cupsoda_simulator into 94345e50a9919e0709c8d8cc8a6b41b48a0d969b on master.
Two changes in pull request
1.) Fixing a bug in integrate.py. If "lsoda" used without calculate_jacob_analytical resulted in an error. This fixes that error by adding self.jac_fn = None.
2.) Removed calls from loop in simulator.calc_obs. Function calls were redundant inside loops were caused considerable overhead.