From 02eb19fb495800edbf9fc9a7c417201ea284b84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Thu, 5 Sep 2013 12:16:07 +0200 Subject: [PATCH] Fixed bug. Added missing case for calls to the dynSeries::lag method. --- matlab/@dynSeries/subsref.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matlab/@dynSeries/subsref.m b/matlab/@dynSeries/subsref.m index 88298e528..b44406a8d 100644 --- a/matlab/@dynSeries/subsref.m +++ b/matlab/@dynSeries/subsref.m @@ -87,6 +87,8 @@ switch S(1).type B = feval(S(1).subs,A,S(2).subs{1}) S = shiftS(S); end + else + B = feval(S(1).subs,A); end case {'save'} % Save dynSeries object on disk (default is a csv file). B = NaN;