Skip to content

Commit

Permalink
Fix docstring of inv!
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Oct 1, 2024
1 parent 11bbd58 commit 3a54b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fundamental_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ neg!(a) = neg!(a, a)
inv!(z, a)
inv!(a)
Return `inv(a)`, possibly modifying the object `z` in the process.
Return `AbstractAlgebra.inv(a)`, possibly modifying the object `z` in the process.
Aliasing is permitted.
The unary version is a shorthand for `inv!(a, a)`.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/generic/LaurentMPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function is_gen(a::LaurentMPolyWrap)
return !iszero(_var_index(a))
end

function inv(a::LaurentMPolyWrap)
function Base.inv(a::LaurentMPolyWrap)
(ap, ad) = _normalize(a)
return LaurentMPolyWrap(parent(a), inv(ap), neg!(ad, ad))
end
Expand Down

0 comments on commit 3a54b66

Please sign in to comment.