| # | Line 62 | Line 62 | Integrator::Integrator(SimInfo* info) | |
|---|---|---|
| 62 | if (simParams->haveRunTime()) { | |
| 63 | runTime = simParams->getRunTime(); | |
| 64 | } else { | |
| 65 | < | |
| 65 | > | sprintf(painCave.errMsg, |
| 66 | > | "Integrator Error: runTime is not set\n"); |
| 67 | > | painCave.isFatal = 1; |
| 68 | > | simError(); |
| 69 | } | |
| 70 | // set the status, sample, and thermal kick times | |
| 71 | if (simParams->haveSampleTime()){ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |