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
3cdde731
Commit
3cdde731
authored
Feb 02, 2012
by
MichelJuillard
Browse files
propagating the change in calling sequence for CheckPass()
parent
f44db937
Changes
2
Hide whitespace changes
Inline
Side-by-side
preprocessor/Shocks.cc
View file @
3cdde731
...
...
@@ -193,7 +193,7 @@ ShocksStatement::writeCovarAndCorrShocks(ostream &output) const
}
void
ShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
)
ShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
)
{
// Workaround for trac ticket #35
mod_file_struct
.
shocks_present
=
true
;
...
...
@@ -242,7 +242,7 @@ MShocksStatement::writeOutput(ostream &output, const string &basename) const
}
void
MShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
)
MShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
)
{
// Workaround for trac ticket #35
mod_file_struct
.
shocks_present
=
true
;
...
...
@@ -256,7 +256,7 @@ ConditionalForecastPathsStatement::ConditionalForecastPathsStatement(const Abstr
}
void
ConditionalForecastPathsStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
)
ConditionalForecastPathsStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
)
{
for
(
AbstractShocksStatement
::
det_shocks_t
::
const_iterator
it
=
paths
.
begin
();
it
!=
paths
.
end
();
it
++
)
...
...
preprocessor/Shocks.hh
View file @
3cdde731
...
...
@@ -72,7 +72,7 @@ public:
const
covar_and_corr_shocks_t
&
corr_shocks_arg
,
const
SymbolTable
&
symbol_table_arg
);
virtual
void
writeOutput
(
ostream
&
output
,
const
string
&
basename
)
const
;
virtual
void
checkPass
(
ModFileStructure
&
mod_file_struct
);
virtual
void
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
);
};
class
MShocksStatement
:
public
AbstractShocksStatement
...
...
@@ -81,7 +81,7 @@ public:
MShocksStatement
(
const
det_shocks_t
&
det_shocks_arg
,
const
SymbolTable
&
symbol_table_arg
);
virtual
void
writeOutput
(
ostream
&
output
,
const
string
&
basename
)
const
;
virtual
void
checkPass
(
ModFileStructure
&
mod_file_struct
);
virtual
void
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
);
};
class
ConditionalForecastPathsStatement
:
public
Statement
...
...
@@ -93,7 +93,7 @@ private:
public:
ConditionalForecastPathsStatement
(
const
AbstractShocksStatement
::
det_shocks_t
&
paths_arg
,
const
SymbolTable
&
symbol_table_arg
);
virtual
void
checkPass
(
ModFileStructure
&
mod_file_struct
);
virtual
void
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
);
virtual
void
writeOutput
(
ostream
&
output
,
const
string
&
basename
)
const
;
};
...
...
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