Skip to content

Commit

Permalink
mori_cone_cap for GVs
Browse files Browse the repository at this point in the history
Use mori_cone_cap, not the toric_mori_cone, for GV computations. This fixes a non-integral GV bug
  • Loading branch information
natemacfadden committed Oct 28, 2024
1 parent 4ac25d9 commit 37b7981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cytools/calabiyau.py
Original file line number Diff line number Diff line change
Expand Up @@ -2164,7 +2164,7 @@ def _compute_gvs_gws(
# get basics
kappa = self.intersection_numbers(in_basis=True, format="coo")
glsm = self.curve_basis(include_origin=False, as_matrix=True)
mori = self.toric_mori_cone(in_basis=True)
mori = self.mori_cone_cap(in_basis=True)
generators = mori.rays()

# compute a grading vector if none is provided
Expand Down

0 comments on commit 37b7981

Please sign in to comment.