From 651c5e7fba8bb7aa3fb36ae76ecf2bfa31d64f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stephane.adjemian@univ-lemans.fr> Date: Sat, 21 Jan 2012 14:12:05 +0100 Subject: [PATCH] Fixed bug (wrong index variable). --- matlab/ep/extended_path.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/ep/extended_path.m b/matlab/ep/extended_path.m index 99b5925c86..92f5623f43 100644 --- a/matlab/ep/extended_path.m +++ b/matlab/ep/extended_path.m @@ -116,8 +116,8 @@ if options_.ep.stochastic.status end if options_.ep.stochastic.order*M_.exo_nbr>1 for i=1:options_.ep.stochastic.order*M_.exo_nbr - rr(k) = {r}; - ww(k) = {w}; + rr(i) = {r}; + ww(i) = {w}; end rrr = cartesian_product_of_sets(rr{:}); www = cartesian_product_of_sets(ww{:}); -- GitLab