Skip to content

Commit

Permalink
ToricVarieties: Code optimization
Browse files Browse the repository at this point in the history
Co-authored-by: Max Horn <max@quendi.de>
  • Loading branch information
HereAround and fingolfin committed Feb 14, 2023
1 parent 017d346 commit 34e36c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/ToricVarieties/ToricDivisorClasses/properties.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ false
```
"""
@attr Bool is_effective(tdc::ToricDivisorClass) = is_effective(toric_divisor(tdc))
export is_effective
export is_effective
1 change: 0 additions & 1 deletion test/ToricVarieties/divisor_classes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
@test is_effective(DC7) == true
@test is_effective(DC8) == false
end

@testset "Arithmetic" begin
@test is_trivial(fmpz(2)*DC+DC2) == false
@test is_trivial(2*DC-DC2) == false
Expand Down

0 comments on commit 34e36c4

Please sign in to comment.