Skip to content

Commit

Permalink
Make kernel(::SMat) better infereable (#1633)
Browse files Browse the repository at this point in the history
* Make `kernel(::SMat)` better infereable

---------

Co-authored-by: Johannes Schmitt <jschmitt@posteo.eu>
  • Loading branch information
lgoettgens and joschmitt authored Oct 2, 2024
1 parent a024dc6 commit 1d7dfe9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Sparse/Rref.jl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ function kernel(M::SMat{T}; side::Symbol = :left) where T <: FieldElement
Solve.check_option(side, [:right, :left], "side")
if side == :right
return _right_kernel(M)[2]
elseif side == :left
return _left_kernel(M)[2]
end
return _left_kernel(M)[2]
end

0 comments on commit 1d7dfe9

Please sign in to comment.