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 pivottime-shift
parent
f944dde89a
commit
2bc167fc6a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue