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
72b25638
Commit
72b25638
authored
Jun 06, 2012
by
Houtan Bastani
Browse files
preprocessor: handle compilation warnings
parent
976b8073
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/DynamicModel.cc
View file @
72b25638
...
...
@@ -2665,7 +2665,7 @@ DynamicModel::writeOutput(ostream &output, const string &basename, bool block_de
i_nz_state_var
[
i
]
=
n
;
unsigned
int
lp
=
n_obs
;
for
(
int
block
=
0
;
block
<
nb_blocks
;
block
++
)
for
(
unsigned
int
block
=
0
;
block
<
nb_blocks
;
block
++
)
{
int
block_size
=
getBlockSize
(
block
);
int
nze
=
0
;
...
...
@@ -2744,7 +2744,7 @@ DynamicModel::writeOutput(ostream &output, const string &basename, bool block_de
lp
+=
nze
;
}
output
<<
"M_.nz_state_var = ["
;
for
(
int
i
=
0
;
i
<
lp
;
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
lp
;
i
++
)
output
<<
i_nz_state_var
[
i
]
<<
" "
;
output
<<
"];"
<<
endl
;
output
<<
"M_.n_diag = "
<<
nb_diag
<<
";"
<<
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