Commit 0908b0a5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix compilation error introduced in 0983ca78.

parent cd063ce3
...@@ -3035,13 +3035,13 @@ DynamicModel::writeCOutput(ostream &output, const string &basename, bool block_d ...@@ -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: ...@@ -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;
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment