From 15fa7fc840750a92c31b9e78586d6ac75fc0a55b Mon Sep 17 00:00:00 2001
From: Michel Juillard <michel.juillard@mjui.fr>
Date: Fri, 4 Jan 2013 12:08:10 +0100
Subject: [PATCH] * matlab/@dynDate/colon.m: fixed bug when there is only one
 series

---
 matlab/@dynDate/colon.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/@dynDate/colon.m b/matlab/@dynDate/colon.m
index d7e31ac69..ddf155e54 100644
--- a/matlab/@dynDate/colon.m
+++ b/matlab/@dynDate/colon.m
@@ -68,7 +68,7 @@ end
 if a==b% Time range with only one date.
     sp = dynTime();
     sp = sp.setFreq(a.freq);
-    sp = sp.setSize(n+1);
+    sp = sp.setSize(1);
     sp = sp.setTime(1,a.time);
 else
     n = b-a;
-- 
GitLab