Skip to content

Commit

Permalink
Don't mention charpoly_only in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jan 29, 2025
1 parent 5f26a3f commit 09580dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Matrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4428,8 +4428,8 @@ function minpoly(S::PolyRing{T}, M::MatElem{T}, charpoly_only::Bool = false) whe
end

@doc raw"""
minpoly(M::MatElem{T}, charpoly_only::Bool = false) where {T <: RingElement}
minpoly(S::PolyRing{T}, M::MatElem{T}, charpoly_only::Bool = false) where {T <: RingElement}
minpoly(M::MatElem{T}) where {T <: RingElement}
minpoly(S::PolyRing{T}, M::MatElem{T}) where {T <: RingElement}
Return the minimal polynomial $p$ of the square matrix $M$.
If a polynomial ring $S$ over the same base ring as $Y$ is supplied,
Expand Down
2 changes: 1 addition & 1 deletion src/generic/MatRing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ end
###############################################################################

@doc raw"""
minpoly(S::Ring, M::MatRingElem{T}, charpoly_only::Bool = false) where {T <: RingElement}
minpoly(S::Ring, M::MatRingElem{T}) where {T <: RingElement}
Return the minimal polynomial $p$ of the matrix $M$. The polynomial ring $S$
of the resulting polynomial must be supplied and the matrix must be square.
Expand Down

0 comments on commit 09580dd

Please sign in to comment.