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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
c57aa43c
Commit
c57aa43c
authored
Feb 25, 2014
by
Stéphane Adjemian
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix.
<M_.fname>_optimal_mh_scale_parameter.mat was not deleted if mode_compute>0.
parent
d3825dcd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/dynare_estimation_1.m
+2
-3
2 additions, 3 deletions
matlab/dynare_estimation_1.m
with
2 additions
and
3 deletions
matlab/dynare_estimation_1.m
+
2
−
3
View file @
c57aa43c
...
@@ -137,8 +137,7 @@ ub = bayestopt_.ub;
...
@@ -137,8 +137,7 @@ ub = bayestopt_.ub;
dr
=
oo_
.
dr
;
dr
=
oo_
.
dr
;
%% load optimal_mh_scale parameter if previous run was with
% load optimal_mh_scale parameter if previous run was with mode_compute=6
%% mode_compute=6
mh_scale_fname
=
[
M_
.
fname
'_optimal_mh_scale_parameter.mat'
];
mh_scale_fname
=
[
M_
.
fname
'_optimal_mh_scale_parameter.mat'
];
if
exist
(
mh_scale_fname
)
if
exist
(
mh_scale_fname
)
if
options_
.
mode_compute
==
0
if
options_
.
mode_compute
==
0
...
@@ -147,7 +146,7 @@ if exist(mh_scale_fname)
...
@@ -147,7 +146,7 @@ if exist(mh_scale_fname)
clear
tmp
;
clear
tmp
;
else
else
% remove the file if mode_compute ~= 0
% remove the file if mode_compute ~= 0
delete
(
'
mh_scale_fname
'
)
delete
(
mh_scale_fname
)
end
end
end
end
...
...
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