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 559d434 commit 7f2d7da
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 7f2d7da

Please sign in to comment.