Fix: No context for inspect.getouterframes (#1432)
Fix: No context for inspect.getouterframes (#1432)

Same as #1348
FFroehlich/AMICI,FFroehlich/AMICI,FFroehlich/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI,FFroehlich/AMICI,AMICI-developer/AMICI