--- trunk/pygtk/integrator.cpp 2006/11/28 23:01:50 952 +++ trunk/pygtk/integrator.cpp 2006/12/07 14:47:15 953 @@ -97,6 +97,8 @@ Integrate the function for the timesteps specified. This method will throw a runtime_error if integration fails. + + @TODO does simulation.processVarStatus work for integrators like IDA??? */ void Integrator::solve(){ @@ -113,12 +115,12 @@ int res; res = integrator_solve(blsys, 0, samplelist_length(samplelist)-1); - // communicate solver variable status back to the instance tree via 'interface_ptr' - simulation.processVarStatus(); - if(!res){ throw runtime_error("Failed integration"); } + + // communicate solver variable status back to the instance tree via 'interface_ptr' + simulation.processVarStatus(); } void