From ab02b660656c813a0301373411a80bff443f8715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Karam=C3=A9?= <frederic.karame@univ-lemans.fr> Date: Fri, 18 Oct 2024 11:06:34 +0200 Subject: [PATCH] Fix bug on the format of the output. --- matlab/estimation/GetAllPosteriorDraws.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/estimation/GetAllPosteriorDraws.m b/matlab/estimation/GetAllPosteriorDraws.m index 11c3e2599..fdea14c93 100644 --- a/matlab/estimation/GetAllPosteriorDraws.m +++ b/matlab/estimation/GetAllPosteriorDraws.m @@ -61,7 +61,7 @@ if issmc(options_) draws = transpose(posterior.param(column,:)); end else - draws = NaN; + draws=NaN(size(posterior.param,2),1); end elseif isdime(options_) posterior = load(sprintf('%s%s%s%schains.mat', dname, filesep(), 'dime', filesep())); -- GitLab