105 |
code, as it gets called by Simulation::build. |
code, as it gets called by Simulation::build. |
106 |
*/ |
*/ |
107 |
res = integrator_analyse(blsys); |
res = integrator_analyse(blsys); |
108 |
|
CONSOLE_DEBUG("Got %d",res); |
109 |
|
|
110 |
if(res){ |
if(res){ |
111 |
stringstream ss; ss << "Failed system analysis (error " << res << ")"; |
CONSOLE_DEBUG("...which is bad"); |
112 |
|
stringstream ss; |
113 |
|
ss << "Failed system analysis (error " << res << ")"; |
114 |
throw runtime_error(ss.str()); |
throw runtime_error(ss.str()); |
115 |
} |
} |
116 |
} |
} |