Fixed an error that a user pointed out, that showed up on solaris and on ubunto.

This commit is contained in:
Harry Moffat 2009-03-03 17:55:25 +00:00
parent f1d4547a37
commit b5fd1d76ac
2 changed files with 6 additions and 5 deletions

View file

@ -130,8 +130,9 @@ namespace Cantera {
*
*/
void ResidJacEval::
getInitialConditions(doublereal t0, size_t leny,
doublereal * y) {
getInitialConditions(doublereal t0,
doublereal * const y, doublereal * const ydot) {
size_t leny = neq_;
getInitialConditionsDot(t0, leny, y, 0);
}

View file

@ -94,13 +94,13 @@ namespace Cantera {
doublereal * const y,
doublereal * const ydot);
virtual void getInitialConditions(const doublereal t0, const size_t leny,
doublereal * const y);
virtual void getInitialConditions(const doublereal t0,
doublereal * const y,
doublereal * const ydot);
virtual void filterSolnPrediction(doublereal t,
doublereal * const y);
void setAtol(doublereal atol);
virtual void evalTimeTrackingEqns(const doublereal t, const doublereal deltaT,