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
5d9f6ef7
Commit
5d9f6ef7
authored
Aug 25, 2010
by
Marco Ratto
Browse files
Fixed priordens needs to be properly initialized in remote, slave sessions.
parent
89f2e800
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/independent_metropolis_hastings_core.m
View file @
5d9f6ef7
...
...
@@ -65,6 +65,9 @@ if whoiam
Parallel
=
myinputs
.
Parallel
;
MasterName
=
myinputs
.
MasterName
;
DyMo
=
myinputs
.
DyMo
;
% initialize persistent variables in priordens()
priordens
(
xparam1
,
bayestopt_
.
pshape
,
bayestopt_
.
p6
,
bayestopt_
.
p7
,
...
bayestopt_
.
p3
,
bayestopt_
.
p4
,
1
);
end
% (re)Set the penalty.
...
...
matlab/random_walk_metropolis_hastings_core.m
View file @
5d9f6ef7
...
...
@@ -97,6 +97,9 @@ if whoiam
Parallel
=
myinputs
.
Parallel
;
MasterName
=
myinputs
.
MasterName
;
DyMo
=
myinputs
.
DyMo
;
% initialize persistent variables in priordens()
priordens
(
xparam1
,
bayestopt_
.
pshape
,
bayestopt_
.
p6
,
bayestopt_
.
p7
,
...
bayestopt_
.
p3
,
bayestopt_
.
p4
,
1
);
end
% (re)Set the penalty
...
...
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