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
Alexander Meyer-Gohde
preprocessor
Commits
fbeae961
Commit
fbeae961
authored
Sep 25, 2018
by
Houtan Bastani
Browse files
aesthetic fix
parent
7282b7bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SubModel.cc
View file @
fbeae961
...
...
@@ -504,8 +504,7 @@ VarModelTable::writeOutput(const string &basename, ostream &output) const
int
eqn
,
lag
,
lhs_symb_id
;
tie
(
eqn
,
lag
,
lhs_symb_id
)
=
it
.
first
;
int
colidx
=
(
int
)
distance
(
lhs
.
begin
(),
find
(
lhs
.
begin
(),
lhs
.
end
(),
lhs_symb_id
));
ar_output
<<
" ar("
<<
eqn
+
1
<<
", "
<<
colidx
+
1
<<
", "
<<
lag
<<
") = "
;
ar_output
<<
" ar("
<<
eqn
+
1
<<
", "
<<
colidx
+
1
<<
", "
<<
lag
<<
") = "
;
it
.
second
->
writeOutput
(
ar_output
,
ExprNodeOutputType
::
matlabDynamicModel
);
ar_output
<<
";"
<<
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