correcting bug in forcing real values for complex elements of Jacobian in static model

issue#70
Michel Juillard 2011-05-10 10:45:25 +02:00
parent 282f34b2d3
commit 912b22d0e9
1 changed files with 1 additions and 1 deletions

View File

@ -1193,7 +1193,7 @@ StaticModel::writeStaticMFile(const string &func_name) const
}
output << " if ~isreal(g1)" << endl
<< " g1 = real(g1)+2*imag(g1);" << endl
<< " g1 = real(g1)+imag(g1).^2;" << endl
<< " end" << endl
<< "end" << endl
<< "if nargout >= 3," << endl