Skip to content
Snippets Groups Projects
Commit 444fb7d5 authored by Michel Juillard's avatar Michel Juillard
Browse files

eliminate redefinition of same functions

parent a1b41fba
No related branches found
No related tags found
No related merge requests found
...@@ -47,11 +47,6 @@ for (getrf, getrs, elty) in ...@@ -47,11 +47,6 @@ for (getrf, getrs, elty) in
end end
end end
# if a is an adjoint matrix, we compute lu decomposition
# for its parent as the transposition is done at the
# solution stage
lu!(a::Adjoint,
ws::LinSolveWs) = lu!(a.parent, ws)
t1 = StridedMatrix{$elty} t1 = StridedMatrix{$elty}
t2 = Transpose{$elty, <: StridedMatrix} t2 = Transpose{$elty, <: StridedMatrix}
...@@ -97,5 +92,9 @@ for (getrf, getrs, elty) in ...@@ -97,5 +92,9 @@ for (getrf, getrs, elty) in
end end
end end
# if a is an adjoint matrix, we compute lu decomposition
# for its parent as the transposition is done at the
# solution stage
lu!(a::Adjoint, ws::LinSolveWs) = lu!(a.parent, ws)
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment