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
df26c668
Commit
df26c668
authored
Sep 21, 2012
by
Stéphane Adjemian
Browse files
Fixed bug.
parent
233d0ae0
Changes
1
Show whitespace changes
Inline
Side-by-side
matlab/get_prior_info.m
View file @
df26c668
...
@@ -138,7 +138,7 @@ if info==2% Prior optimization.
...
@@ -138,7 +138,7 @@ if info==2% Prior optimization.
iter
=
0
;
iter
=
0
;
while
look_for_admissible_initial_condition
while
look_for_admissible_initial_condition
xinit
=
xparam1
+
scale
*
randn
(
size
(
xparam1
));
xinit
=
xparam1
+
scale
*
randn
(
size
(
xparam1
));
if
all
(
xinit
>
bayestopt_
.
p3
)
&&
all
(
xinit
<
bayestopt_
.
p4
)
if
all
(
xinit
(:)
>
bayestopt_
.
p3
)
&&
all
(
xinit
(:)
<
bayestopt_
.
p4
)
look_for_admissible_initial_condition
=
0
;
look_for_admissible_initial_condition
=
0
;
else
else
if
iter
==
2000
;
if
iter
==
2000
;
...
...
Write
Preview
Markdown
is supported
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