Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
preprocessor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
preprocessor
Commits
97bf12d6
Commit
97bf12d6
authored
Feb 2, 2012
by
MichelJuillard
Browse files
Options
Downloads
Patches
Plain Diff
propagating the change in calling sequence for CheckPass()
parent
e4916a1d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Shocks.cc
+3
-3
3 additions, 3 deletions
Shocks.cc
Shocks.hh
+3
-3
3 additions, 3 deletions
Shocks.hh
with
6 additions
and
6 deletions
Shocks.cc
+
3
−
3
View file @
97bf12d6
...
@@ -193,7 +193,7 @@ ShocksStatement::writeCovarAndCorrShocks(ostream &output) const
...
@@ -193,7 +193,7 @@ ShocksStatement::writeCovarAndCorrShocks(ostream &output) const
}
}
void
void
ShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
)
ShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
)
{
{
// Workaround for trac ticket #35
// Workaround for trac ticket #35
mod_file_struct
.
shocks_present
=
true
;
mod_file_struct
.
shocks_present
=
true
;
...
@@ -242,7 +242,7 @@ MShocksStatement::writeOutput(ostream &output, const string &basename) const
...
@@ -242,7 +242,7 @@ MShocksStatement::writeOutput(ostream &output, const string &basename) const
}
}
void
void
MShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
)
MShocksStatement
::
checkPass
(
ModFileStructure
&
mod_file_struct
,
WarningConsolidation
&
warnings
)
{
{
// Workaround for trac ticket #35
// Workaround for trac ticket #35
mod_file_struct
.
shocks_present
=
true
;
mod_file_struct
.
shocks_present
=
true
;
...
@@ -256,7 +256,7 @@ ConditionalForecastPathsStatement::ConditionalForecastPathsStatement(const Abstr
...
@@ -256,7 +256,7 @@ ConditionalForecastPathsStatement::ConditionalForecastPathsStatement(const Abstr
}
}
void
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
();
for
(
AbstractShocksStatement
::
det_shocks_t
::
const_iterator
it
=
paths
.
begin
();
it
!=
paths
.
end
();
it
++
)
it
!=
paths
.
end
();
it
++
)
...
...
This diff is collapsed.
Click to expand it.
Shocks.hh
+
3
−
3
View file @
97bf12d6
...
@@ -72,7 +72,7 @@ public:
...
@@ -72,7 +72,7 @@ public:
const
covar_and_corr_shocks_t
&
corr_shocks_arg
,
const
covar_and_corr_shocks_t
&
corr_shocks_arg
,
const
SymbolTable
&
symbol_table_arg
);
const
SymbolTable
&
symbol_table_arg
);
virtual
void
writeOutput
(
ostream
&
output
,
const
string
&
basename
)
const
;
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
class
MShocksStatement
:
public
AbstractShocksStatement
...
@@ -81,7 +81,7 @@ public:
...
@@ -81,7 +81,7 @@ public:
MShocksStatement
(
const
det_shocks_t
&
det_shocks_arg
,
MShocksStatement
(
const
det_shocks_t
&
det_shocks_arg
,
const
SymbolTable
&
symbol_table_arg
);
const
SymbolTable
&
symbol_table_arg
);
virtual
void
writeOutput
(
ostream
&
output
,
const
string
&
basename
)
const
;
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
class
ConditionalForecastPathsStatement
:
public
Statement
...
@@ -93,7 +93,7 @@ private:
...
@@ -93,7 +93,7 @@ private:
public:
public:
ConditionalForecastPathsStatement
(
const
AbstractShocksStatement
::
det_shocks_t
&
paths_arg
,
ConditionalForecastPathsStatement
(
const
AbstractShocksStatement
::
det_shocks_t
&
paths_arg
,
const
SymbolTable
&
symbol_table_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
;
virtual
void
writeOutput
(
ostream
&
output
,
const
string
&
basename
)
const
;
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment