From 042138773295f9c4784e6ac24f365086d45c1510 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 29 Nov 2012 10:32:05 +0100
Subject: [PATCH] Require Octave 3.6, since we use parfor

---
 doc/dynare.texi | 2 +-
 matlab/dynare.m | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/dynare.texi b/doc/dynare.texi
index 41fc2f19f7..c375316ac2 100644
--- a/doc/dynare.texi
+++ b/doc/dynare.texi
@@ -378,7 +378,7 @@ In order to run Dynare, you need one of the following:
 MATLAB version 7.3 (R2006b) or above;
 
 @item
-GNU Octave version 3.4.0 or above.
+GNU Octave version 3.6 or above.
 @end itemize
 
 Packages of GNU Octave can be downloaded on the
diff --git a/matlab/dynare.m b/matlab/dynare.m
index 4945844934..12072a4255 100644
--- a/matlab/dynare.m
+++ b/matlab/dynare.m
@@ -47,8 +47,8 @@ end
 warning_config()
 
 if exist('OCTAVE_VERSION')
-    if octave_ver_less_than('3.4.0')
-        warning('This version of Dynare has only been tested on Octave 3.4.0 and above. Since your Octave version is older than that, Dynare may fail to run, or give unexpected results. Consider upgrading your Octave installation.');
+    if octave_ver_less_than('3.6.0')
+        warning('This version of Dynare has only been tested on Octave 3.6.0 and above. Since your Octave version is older than that, Dynare may fail to run, or give unexpected results. Consider upgrading your Octave installation.');
     end
 else
     if matlab_ver_less_than('7.3')
-- 
GitLab