Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
a0825262
Commit
a0825262
authored
14 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
K-order DLL: no longer create an extra MAT file (useless and undocumented)
(cherry picked from commit
a4769fc8
)
parent
9a3494b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mex/sources/k_order_perturbation/k_order_perturbation.cc
+0
-17
0 additions, 17 deletions
mex/sources/k_order_perturbation/k_order_perturbation.cc
with
0 additions
and
17 deletions
mex/sources/k_order_perturbation/k_order_perturbation.cc
+
0
−
17
View file @
a0825262
...
@@ -221,23 +221,6 @@ extern "C" {
...
@@ -221,23 +221,6 @@ extern "C" {
// run stochastic steady
// run stochastic steady
app
.
walkStochSteady
();
app
.
walkStochSteady
();
//ConstTwoDMatrix ss(app.getSS());
// open mat file
std
::
string
matfile
(
fName
);
//(params.basename);
matfile
+=
".mat"
;
FILE
*
matfd
=
NULL
;
if
(
NULL
==
(
matfd
=
fopen
(
matfile
.
c_str
(),
"wb"
)))
mexErrMsgIdAndTxt
(
"dynare:k_order_perturbation"
,
"Couldn't open %s for writing."
,
matfile
.
c_str
());
//std::string ss_matrix_name(fName);
//ss_matrix_name += "_steady_states";
//ss.writeMat4(matfd, ss_matrix_name.c_str());
// write the folded decision rule to the Mat-4 file
app
.
getFoldDecisionRule
().
writeMat4
(
matfd
,
fName
.
c_str
());
//params.prefix);
fclose
(
matfd
);
/* Write derivative outputs into memory map */
/* Write derivative outputs into memory map */
map
<
string
,
ConstTwoDMatrix
>
mm
;
map
<
string
,
ConstTwoDMatrix
>
mm
;
app
.
getFoldDecisionRule
().
writeMMap
(
mm
,
string
());
app
.
getFoldDecisionRule
().
writeMMap
(
mm
,
string
());
...
...
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