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
Dóra Kocsis
dynare
Commits
fb685925
Commit
fb685925
authored
May 10, 2011
by
MichelJuillard
Browse files
correcting bug in forcing real values for complex elements of Jacobian in static model
parent
6a45f0a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/StaticModel.cc
View file @
fb685925
...
...
@@ -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