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
5e7d9d39
Commit
5e7d9d39
authored
Apr 14, 2010
by
Marco Ratto
Browse files
1) removed redundant loop defining x;
2) bug fix for remote slave sessions;
parent
da74e532
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/prior_posterior_statistics_core.m
View file @
5e7d9d39
...
...
@@ -56,15 +56,6 @@ end
MAX_momentsno
=
myinputs
.
MAX_momentsno
;
ifil
=
myinputs
.
ifil
;
if
strcmpi
(
typee
,
'posterior'
),
b
=
0
;
while
b
<=
B
b
=
b
+
1
;
[
x
(
b
,:),
logpost
(
b
,
1
)]
=
GetOneDraw
(
typee
);
end
end
if
~
strcmpi
(
typee
,
'prior'
),
x
=
myinputs
.
x
;
logpost
=
myinputs
.
logpost
;
...
...
@@ -279,7 +270,8 @@ for b=fpar:B
elseif
~
whoiam
,
waitbar
(
b
/
B
,
h
);
end
if
mod
(
b
,
10
)
==
0
&
whoiam
,
% if mod(b,10)==0 & whoiam,
if
whoiam
,
fprintf
(
'Done! \n'
);
waitbarString
=
[
'Subdraw '
int2str
(
b
)
'/'
int2str
(
B
)
' done.'
];
fMessageStatus
((
b
-
fpar
+
1
)/(
B
-
fpar
+
1
),
whoiam
,
waitbarString
,
waitbarTitle
,
Parallel
(
ThisMatlab
),
MasterName
,
DyMo
)
...
...
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