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
time-shift
Sébastien Villemot 2013-04-05 11:56:43 +02:00
parent f944dde89a
commit 2bc167fc6a
1 changed files with 0 additions and 6 deletions

View File

@ -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;