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
13ce36eb
Commit
13ce36eb
authored
Jan 03, 2012
by
Houtan Bastani
Browse files
bug_fix: add missing assertion
parent
c19950d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/ComputingTasks.cc
View file @
13ce36eb
...
...
@@ -1443,6 +1443,7 @@ MarkovSwitchingStatement::checkPass(ModFileStructure &mod_file_struct)
using
namespace
boost
;
OptionsList
::
num_options_t
::
const_iterator
it_num_regimes
=
options_list
.
num_options
.
find
(
"ms.number_of_regimes"
);
assert
(
it_num_regimes
!=
options_list
.
num_options
.
end
());
int
num_regimes
=
lexical_cast
<
int
>
(
it_num_regimes
->
second
);
vector
<
double
>
col_trans_prob_sum
(
num_regimes
,
0
);
vector
<
double
>
row_trans_prob_sum
(
num_regimes
,
0
);
...
...
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