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
9bc6945b
Commit
9bc6945b
authored
Jan 4, 2012
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
aesthetic fix: remove commented code
parent
e8e84b97
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ComputingTasks.cc
+0
-38
0 additions, 38 deletions
ComputingTasks.cc
with
0 additions
and
38 deletions
ComputingTasks.cc
+
0
−
38
View file @
9bc6945b
...
...
@@ -1280,9 +1280,6 @@ SvarIdentificationStatement::writeOutput(ostream &output, const string &basename
output
<<
"options_.ms.Qi = cell("
<<
n
<<
",1);"
<<
endl
;
output
<<
"options_.ms.Ri = cell("
<<
n
<<
",1);"
<<
endl
;
// vector<int> rows(n);
// fill(rows.begin(),rows.end(),1);
for
(
svar_identification_restrictions_t
::
const_iterator
it
=
restrictions
.
begin
();
it
!=
restrictions
.
end
();
it
++
)
{
if
(
it
->
lag
==
0
)
...
...
@@ -1309,41 +1306,6 @@ SvarIdentificationStatement::writeOutput(ostream &output, const string &basename
cerr
<<
"SvarIdentificationStatement::writeOutput() Should not arrive here (3). Please report this to the Dynare Team."
<<
endl
;
exit
(
EXIT_FAILURE
);
}
// for (unsigned int h = 0; h < it->second.size(); h++)
// {
// int j = it->second.at(h) + 1;
// int i = it->first.second;
// int lag = it->first.first;
// if (j < 1 || j > n || (int) h+1 > n || i < 1)
// {
// cerr << "SvarIdentificationStatement::writeOutput() Should not arrive here (2). Please report this to the Dynare Team." << endl;
// exit(EXIT_FAILURE);
// }
// if (i > n)
// {
// cerr << "ERROR: equation number " << i << " is greater than the number of endogenous variables, " << n << "." << endl;
// exit(EXIT_FAILURE);
// }
// if (lag == 0)
// output << "options_.ms.Qi{" << i << "}(" << h+1 << ", " << j << ") = 1;" << endl;
// else if (lag > 0)
// {
// if ((lag-1)*n+j > k)
// {
// cerr << "ERROR: lag =" << lag << ", num endog vars = " << n << "current endog var index = " << j << ". Index "
// << "out of bounds. If the above does not represent a logical error, please report this to the Dyanre Team." << endl;
// }
// output << "options_.ms.Ri{" << i << "}(" << rows[i-1] << ", " << (lag-1)*n+j << ") = 1;" << endl;
// rows[i-1]++;
// }
// else
// {
// cerr << "SvarIdentificationStatement::writeOutput() Should not arrive here (3). Please report this to the Dynare Team." << endl;
// exit(EXIT_FAILURE);
// }
// }
}
}
}
...
...
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