Skip to content

Commit 05f98be

Browse files
committed
cleanup
1 parent 9078816 commit 05f98be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TropicalGeometry/matrix.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ julia> det(A)
3131
(5)
3232
```
3333
"""
34-
function det(A::Generic.MatSpaceElem{R}) where {R<:Union{TropicalSemiringElem,MPolyRingElem{<:TropicalSemiringElem},PolyRingElem{<:TropicalSemiringElem}}}
34+
function det(A::Generic.MatSpaceElem{TropicalSemiringElem{minOrMax}}) where {minOrMax<:Union{typeof(max), typeof(min)}}
3535
nrows(A)!=ncols(A) && error("Non-square matrix")
3636
T = base_ring(A)
3737
return T(Polymake.tropical.tdet(A))

0 commit comments

Comments
 (0)