Skip to content

Commit

Permalink
[FTheoryTools] Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HereAround committed Oct 1, 2024
1 parent 2fe164e commit 75d5d22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function hypersurface_model(base::NormalToricVariety, fiber_ambient_space::Norma
@req length(ds) == 1 "Inconsistency in determining the degree of the hypersurface equation"
@req ds[1] == divisor_class(anticanonical_divisor_class(ambient_space)).coeff "Degree of hypersurface equation differs from anticanonical bundle"
explicit_model_sections = Dict{String, MPolyRingElem}()
gens_S = gens(cox_ring(ambient_space))
gens_S = gens(cox_ring(base))
for k in 1:length(gens_S)
explicit_model_sections[string(gens_S[k])] = gens_S[k]
end
Expand Down

0 comments on commit 75d5d22

Please sign in to comment.