Skip to content

Commit

Permalink
Polyhedral geometry tests should not use varieties
Browse files Browse the repository at this point in the history
  • Loading branch information
paemurru committed Jan 9, 2025
1 parent 8ab4265 commit d70d287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/PolyhedralGeometry/polyhedral_fan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
@test _check_im_perm_rows(incidence_matrix(cones(F1, 2)), incidence1)
@test _check_im_perm_rows(cones(IncidenceMatrix, F1, 2), incidence1)

A3 = affine_space(NormalToricVariety, 3)
# Construct a fan that describes affine 3-space
A3 = polyhedral_fan(positive_hull(identity_matrix(ZZ, 3)))
@test length(cones(A3, 1)) == 3
@test length(cones(A3, 0)) == 1
@test length(cones(A3, -1)) == 0
Expand Down

0 comments on commit d70d287

Please sign in to comment.