From 444fb7d59f466758ec3988a4f23c386cf4eb0570 Mon Sep 17 00:00:00 2001 From: Michel Juillard <michel@debian.home> Date: Sat, 4 Apr 2020 16:51:17 +0200 Subject: [PATCH] eliminate redefinition of same functions --- src/LinSolveAlgo.jl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/LinSolveAlgo.jl b/src/LinSolveAlgo.jl index b1eef97..2f740b0 100644 --- a/src/LinSolveAlgo.jl +++ b/src/LinSolveAlgo.jl @@ -47,11 +47,6 @@ for (getrf, getrs, elty) in 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} t2 = Transpose{$elty, <: StridedMatrix} @@ -97,5 +92,9 @@ for (getrf, getrs, elty) in 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 -- GitLab