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
83ea2691
Commit
83ea2691
authored
Feb 10, 2017
by
Houtan Bastani
Browse files
preprocessor: aesthetic fix
parent
4dc640c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ComputingTasks.cc
View file @
83ea2691
...
...
@@ -821,9 +821,7 @@ EstimatedParamsStatement::writeOutput(ostream &output, const string &basename, b
<<
"estim_params_.corrn = [];"
<<
endl
<<
"estim_params_.param_vals = [];"
<<
endl
;
vector
<
EstimationParams
>::
const_iterator
it
;
for
(
it
=
estim_params_list
.
begin
();
it
!=
estim_params_list
.
end
();
it
++
)
for
(
vector
<
EstimationParams
>::
const_iterator
it
=
estim_params_list
.
begin
();
it
!=
estim_params_list
.
end
();
it
++
)
{
int
symb_id
=
symbol_table
.
getTypeSpecificID
(
it
->
name
)
+
1
;
SymbolType
symb_type
=
symbol_table
.
getType
(
it
->
name
);
...
...
@@ -892,9 +890,7 @@ EstimatedParamsInitStatement::writeOutput(ostream &output, const string &basenam
if
(
use_calibration
)
output
<<
"options_.use_calibration_initialization = 1;"
<<
endl
;
vector
<
EstimationParams
>::
const_iterator
it
;
for
(
it
=
estim_params_list
.
begin
();
it
!=
estim_params_list
.
end
();
it
++
)
for
(
vector
<
EstimationParams
>::
const_iterator
it
=
estim_params_list
.
begin
();
it
!=
estim_params_list
.
end
();
it
++
)
{
int
symb_id
=
symbol_table
.
getTypeSpecificID
(
it
->
name
)
+
1
;
SymbolType
symb_type
=
symbol_table
.
getType
(
it
->
name
);
...
...
@@ -955,9 +951,7 @@ EstimatedParamsBoundsStatement::EstimatedParamsBoundsStatement(const vector<Esti
void
EstimatedParamsBoundsStatement
::
writeOutput
(
ostream
&
output
,
const
string
&
basename
,
bool
minimal_workspace
)
const
{
vector
<
EstimationParams
>::
const_iterator
it
;
for
(
it
=
estim_params_list
.
begin
();
it
!=
estim_params_list
.
end
();
it
++
)
for
(
vector
<
EstimationParams
>::
const_iterator
it
=
estim_params_list
.
begin
();
it
!=
estim_params_list
.
end
();
it
++
)
{
int
symb_id
=
symbol_table
.
getTypeSpecificID
(
it
->
name
)
+
1
;
SymbolType
symb_type
=
symbol_table
.
getType
(
it
->
name
);
...
...
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