Skip to content

Commit

Permalink
added a global assignment function for sheaves
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Jun 5, 2024
1 parent 8b2db44 commit ab41d12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/Varieties.m2
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ SheafOfRings.synonym = "sheaf of rings"

CoherentSheaf = new Type of HashTable
CoherentSheaf.synonym = "coherent sheaf"
CoherentSheaf.GlobalAssignHook = globalAssignFunction
CoherentSheaf.GlobalReleaseHook = globalReleaseFunction

-- see Varieties/SheafMaps.m2
CoherentSheaf#id = F -> map(F, F, id_(module F))
Expand Down

0 comments on commit ab41d12

Please sign in to comment.