From 5059c4846029f3eb6d6f56bec7b3ec8e3ec991a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 22 Oct 2010 15:42:57 +0200 Subject: [PATCH] solve_algo=7 (GMRES) is forbidden under Octave --- matlab/steady_.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matlab/steady_.m b/matlab/steady_.m index 27e2780ca..dbad51525 100644 --- a/matlab/steady_.m +++ b/matlab/steady_.m @@ -42,6 +42,10 @@ if ~options_.bytecode && options_.block && options_.solve_algo == 5 error('STEADY: you can''t use solve_algo = 5 without bytecode option') end +if exist('OCTAVE_VERSION') && options_.solve_algo == 7 + error('SIMUL: you can''t use solve_algo = 7 under Octave') +end + if options_.steadystate_flag [ys,check] = feval([M_.fname '_steadystate'],... oo_.steady_state,...