Skip to content
Snippets Groups Projects
Commit 2bc167fc authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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
parent f944dde8
No related branches found
No related tags found
No related merge requests found
...@@ -25,12 +25,6 @@ function [L, U, P] = ilu(A, setup) ...@@ -25,12 +25,6 @@ function [L, U, P] = ilu(A, setup)
error('Only two input arguments supported') error('Only two input arguments supported')
end end
if isfield(setup, 'type')
if setup.type ~= 'ilutp'
error(['Unsupported type: ' setup.type ])
end
end
if isfield(setup, 'milu') if isfield(setup, 'milu')
if setup.milu == 'off' if setup.milu == 'off'
setup.milu = 0; setup.milu = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment