bug fix in writing of dynamic params derivs file
parent
389bb89a55
commit
0a3a5a0a03
|
@ -3882,6 +3882,7 @@ DynamicModel::writeParamsDerivativesFile(const string &basename, bool julia) con
|
|||
paramsDerivsFile << ";" << endl;
|
||||
}
|
||||
|
||||
if (!julia)
|
||||
// If nargout >= 3...
|
||||
paramsDerivsFile << "if nargout >= 3" << endl;
|
||||
|
||||
|
@ -3945,6 +3946,7 @@ DynamicModel::writeParamsDerivativesFile(const string &basename, bool julia) con
|
|||
paramsDerivsFile << ";" << endl;
|
||||
}
|
||||
|
||||
if (!julia)
|
||||
// If nargout >= 5...
|
||||
paramsDerivsFile << "end" << endl
|
||||
<< "if nargout >= 5" << endl;
|
||||
|
|
Loading…
Reference in New Issue