Skip to content

Commit

Permalink
Fix lu! requiring real matrices to be square.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrodgers committed Jul 26, 2023
1 parent 011e590 commit 557d161
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/arb/RealMat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ end
###############################################################################

function lu!(P::Generic.Perm, x::RealMat)
ncols(x) != nrows(x) && error("Matrix must be square")
parent(P).n != nrows(x) && error("Permutation does not match matrix")
P.d .-= 1
r = ccall((:arb_mat_lu, libarb), Cint,
Expand Down

0 comments on commit 557d161

Please sign in to comment.