Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
preprocessor
Commits
912b22d0
Commit
912b22d0
authored
May 10, 2011
by
MichelJuillard
Browse files
correcting bug in forcing real values for complex elements of Jacobian in static model
parent
282f34b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
StaticModel.cc
View file @
912b22d0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment