diff --git a/packages/Varieties/SheafComplexes.m2 b/packages/Varieties/SheafComplexes.m2 index ca4b275..045be6e 100644 --- a/packages/Varieties/SheafComplexes.m2 +++ b/packages/Varieties/SheafComplexes.m2 @@ -50,6 +50,12 @@ complex' List := Complex => opts -> L -> ( error "expected a list of matrices or a list of modules"; ) +sheaf Complex := Complex => C -> ( + (lo,hi) := concentration C; + complex' for i from lo+1 to hi list sheaf C.dd_i + ) + + -* map(Complex, Complex, HashTable) := ComplexMap => opts -> (tar, src, maps) -> ( R := ring tar;