Fix compilation error introduced in 0983ca78
.
parent
fa7d123ea4
commit
184b810b65
|
@ -3035,13 +3035,13 @@ DynamicModel::writeCOutput(ostream &output, const string &basename, bool block_d
|
|||
switch (order)
|
||||
{
|
||||
case 0:
|
||||
output << NNZDerivativs[0] << ",-1,-1};" << endl;
|
||||
output << NNZDerivatives[0] << ",-1,-1};" << endl;
|
||||
break;
|
||||
case 1:
|
||||
output << NNZDerivativs[0] << "," << NNZDerivatives[1] << ",-1};" << endl;
|
||||
output << NNZDerivatives[0] << "," << NNZDerivatives[1] << ",-1};" << endl;
|
||||
break;
|
||||
case 2:
|
||||
output << NNZDerivativs[0] << "," << NNZDerivatives[1] << "," << NNZDerivatives[2] << "};" << endl;
|
||||
output << NNZDerivatives[0] << "," << NNZDerivatives[1] << "," << NNZDerivatives[2] << "};" << endl;
|
||||
break;
|
||||
default:
|
||||
cerr << "Order larger than 3 not implemented" << endl;
|
||||
|
|
|
@ -141,6 +141,7 @@ public:
|
|||
//! Writes C output files only => No further Matlab processing
|
||||
void writeCOutputFiles(const string &basename) const;
|
||||
void writeModelC(const string &basename, bool cuda) const;
|
||||
void writeModelCC(const string &basename, bool cuda) const;
|
||||
void writeExternalFiles(const string &basename, FileOutputType output, bool cuda) const;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue