Skip to content

Commit

Permalink
[FTheoryTools] Code improvement
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew P Turner <apturner@mac.com>
  • Loading branch information
HereAround and apturner authored Jul 26, 2024
1 parent b6be48f commit 70ce119
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ function chern_class_c1(m::AbstractFTheoryModel; check::Bool = true)
# Compute and set h
c1_t_ambient = cohomology_class(anticanonical_divisor(ambient_space(m)))
set_attribute!(m, :chern_class_c1, c1_t_ambient - cy)
return c1_t_ambient - cy
return get_attribute(m, :chern_class_c1)
end


Expand Down

0 comments on commit 70ce119

Please sign in to comment.