From da02ca32db535de63d5fceb49853e4134172f27b Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Fri, 7 Apr 2017 12:15:32 +0200
Subject: [PATCH] fix error message in horzcat

---
 src/@dates/horzcat.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/@dates/horzcat.m b/src/@dates/horzcat.m
index 108bf0f..80d57ae 100644
--- a/src/@dates/horzcat.m
+++ b/src/@dates/horzcat.m
@@ -35,7 +35,7 @@ for i=2:nargin
             o.time = [o.time; p.time];
         end
     else
-        error('dates','All input arguments must have the same frequency!')
+        error('dates:horzcat','All input arguments must have the same frequency!')
     end
 end
 
-- 
GitLab