From 2bc167fc6a887d57501612a5edb145dd843e334d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Fri, 5 Apr 2013 11:56:43 +0200 Subject: [PATCH] ILU wrapper around LUINC: don't test setup.type It is anyway impossible to have exactly the same behaviour of ilu and luinc with respect to zero filling and maximum pivot --- matlab/missing/ilu/ilu.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/matlab/missing/ilu/ilu.m b/matlab/missing/ilu/ilu.m index 1e4dfcf1e..4b4fe2338 100644 --- a/matlab/missing/ilu/ilu.m +++ b/matlab/missing/ilu/ilu.m @@ -25,12 +25,6 @@ function [L, U, P] = ilu(A, setup) error('Only two input arguments supported') end - if isfield(setup, 'type') - if setup.type ~= 'ilutp' - error(['Unsupported type: ' setup.type ]) - end - end - if isfield(setup, 'milu') if setup.milu == 'off' setup.milu = 0; -- GitLab