Skip to content

Commit

Permalink
fixed internal function plotRegion
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Feb 13, 2024
1 parent 30ceddc commit 060e16f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions M2/Macaulay2/packages/VirtualResolutions/helpers.m2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plotRegion = method()
plotRegion(Function, List, List) := (func, low, high) -> printerr netList(Boxes => false,
table(min(high - low) + 1, max(high - low) + 1,
(i, j) -> if func(j + first low, first high - i) then "." else "x"))
table(last(high - low) + 1, first(high - low) + 1,
(i, j) -> if func(j + first low, last high - i) then "." else "x"))
plotRegion(List, List, List) := (L, low, high) -> plotRegion(
(i, j) -> any(L, ell -> i >= ell_0 and j >= ell_1), low, high)

Expand Down

0 comments on commit 060e16f

Please sign in to comment.