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)
|
switch (order)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
output << NNZDerivativs[0] << ",-1,-1};" << endl;
|
output << NNZDerivatives[0] << ",-1,-1};" << endl;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
output << NNZDerivativs[0] << "," << NNZDerivatives[1] << ",-1};" << endl;
|
output << NNZDerivatives[0] << "," << NNZDerivatives[1] << ",-1};" << endl;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
output << NNZDerivativs[0] << "," << NNZDerivatives[1] << "," << NNZDerivatives[2] << "};" << endl;
|
output << NNZDerivatives[0] << "," << NNZDerivatives[1] << "," << NNZDerivatives[2] << "};" << endl;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
cerr << "Order larger than 3 not implemented" << endl;
|
cerr << "Order larger than 3 not implemented" << endl;
|
||||||
|
|
|
@ -141,6 +141,7 @@ public:
|
||||||
//! Writes C output files only => No further Matlab processing
|
//! Writes C output files only => No further Matlab processing
|
||||||
void writeCOutputFiles(const string &basename) const;
|
void writeCOutputFiles(const string &basename) const;
|
||||||
void writeModelC(const string &basename, bool cuda) 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;
|
void writeExternalFiles(const string &basename, FileOutputType output, bool cuda) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue