Skip to content

Commit

Permalink
deleted extraneous a
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlin-Mallory committed Jun 5, 2024
1 parent 030da24 commit 7d51019
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RuledSurfaces.m2
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ findGlobalGeneratorsOfTwist = method()
findGlobalGeneratorsOfTwist(ProjectiveBundle) := PE -> if not PE.?generators then PE.generators = findGlobalGeneratorsOfTwist(sheaf PE)
findGlobalGeneratorsOfTwist(CoherentSheaf) := E -> (
i := regularity module E;
--TODO: should we also check that this map induces a surjection on H^0?
while sheaf coker basis(i, module E) == 0 do i = i - 1;
(i + 1, sheaf basis(i + 1, module E))
)
Expand Down Expand Up @@ -137,7 +138,7 @@ imageOfLinearSeries(ProjectiveBundle, WeilDivisor, ZZ) := (PE, D, m) -> (
preimD := divisor sub(preimage_phi sub(ideal D, T), T');
--the mapping divisor below corresponds to "basis({m,m/deg D *a + m},T')
--the if statement is a kludge to handle the case where no monomials for D should appear
mappingDivisor := -a * preimDa + preimD + m * divisor(T'_0);
mappingDivisor := -preimDa + preimD + m * divisor(T'_0);
Proj quotient ker mapToProjectiveSpace mappingDivisor)
)

Expand Down

0 comments on commit 7d51019

Please sign in to comment.