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
5e230e41
Commit
5e230e41
authored
Apr 12, 2011
by
Marco Ratto
Browse files
Fixed initialization of options related to identification.
(cherry picked from commit
3a7119be
)
parent
a23f4b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_sensitivity.m
View file @
5e230e41
...
@@ -72,15 +72,22 @@ if options_gsa.identification,
...
@@ -72,15 +72,22 @@ if options_gsa.identification,
options_gsa
=
set_default_option
(
options_gsa
,
'morris'
,
1
);
options_gsa
=
set_default_option
(
options_gsa
,
'morris'
,
1
);
options_gsa
=
set_default_option
(
options_gsa
,
'trans_ident'
,
0
);
options_gsa
=
set_default_option
(
options_gsa
,
'trans_ident'
,
0
);
options_gsa
=
set_default_option
(
options_gsa
,
'load_ident_files'
,
0
);
options_gsa
=
set_default_option
(
options_gsa
,
'load_ident_files'
,
0
);
options_gsa
=
set_default_option
(
options_gsa
,
'ar'
,
3
);
options_gsa
=
set_default_option
(
options_gsa
,
'ar'
,
1
);
options_gsa
=
set_default_option
(
options_gsa
,
'useautocorr'
,
1
);
options_gsa
=
set_default_option
(
options_gsa
,
'useautocorr'
,
0
);
options_
.
ar
=
options_gsa
.
ar
;
options_
.
ar
=
options_gsa
.
ar
;
if
options_gsa
.
morris
==
2
,
if
options_gsa
.
morris
==
2
,
options_ident
=
[];
if
isfield
(
options_
,
'options_ident'
),
options_ident
=
set_default_option
(
options_ident
,
'load_ident_files'
,
options_gsa
.
load_ident_files
);
options_
.
options_ident
.
load_ident_files
=
options_gsa
.
load_ident_files
;
options_ident
=
set_default_option
(
options_ident
,
'useautocorr'
,
options_gsa
.
useautocorr
);
options_
.
options_ident
.
useautocorr
=
options_gsa
.
useautocorr
;
options_ident
=
set_default_option
(
options_ident
,
'ar'
,
options_gsa
.
ar
);
options_
.
options_ident
.
ar
=
options_gsa
.
ar
;
options_
.
options_ident
=
options_ident
;
options_ident
=
options_
.
options_ident
;
else
options_ident
=
[];
options_ident
=
set_default_option
(
options_ident
,
'load_ident_files'
,
options_gsa
.
load_ident_files
);
options_ident
=
set_default_option
(
options_ident
,
'useautocorr'
,
options_gsa
.
useautocorr
);
options_ident
=
set_default_option
(
options_ident
,
'ar'
,
options_gsa
.
ar
);
options_
.
options_ident
=
options_ident
;
end
end
end
end
end
...
...
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