Skip to content

Commit

Permalink
added some asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
npgallup committed Jun 5, 2024
1 parent 0b2af8f commit 57a0607
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo.m2
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Y = projectivizationOfBundle({D0PP2, D1PP2})
rays Y
max Y

assert(isWellDefined Y)
assert(isSmooth Y)
assert(isProjective Y)

-- Batyrev classification for smooth, projective toric varieties of Picard rank 3
V = batyrevConstructor({1,1,1,1,1}, {0}, {})
isWellDefined V
Expand Down

0 comments on commit 57a0607

Please sign in to comment.