Skip to content

Commit

Permalink
Merge pull request #1511 from aadams22/master
Browse files Browse the repository at this point in the history
adding the new package ResolutionsOfStanleyReisnerRings
  • Loading branch information
DanGrayson authored Dec 8, 2020
2 parents 1926ab6 + ba82bb3 commit cbd7cca
Show file tree
Hide file tree
Showing 5 changed files with 600 additions and 4 deletions.
1 change: 1 addition & 0 deletions M2/Macaulay2/packages/=distributed-packages
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,6 @@ StatGraphs
GraphicalModelsMLE
EigenSolver
MultiplicitySequence
ResolutionsOfStanleyReisnerRings
NumericalLinearAlgebra
ResLengthThree
5 changes: 4 additions & 1 deletion M2/Macaulay2/packages/Macaulay2Doc/overview_packages.m2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ Node
Code
star := IMG {"src" => replace("PKG", "Style", currentLayout#"package") | "GoldStar.png", "alt" => "a gold star"};
categories := new MutableHashTable from {};
scan(separate_" " version#"packages", pkgname -> (
pkgs := separate_" " version#"packages";
oops := select(tally pkgs, v -> v > 1); -- are any packages listed twice? If so, it will cause an inscrutable error below when sorting pairs
if #oops > 0 then error ("some packages listed more than once in `version#\"packages\"` : ", concatenate demark_"," keys oops);
scan(pkgs, pkgname -> (
pkgopts := readPackage pkgname;
-- populate categories
scan(pkgopts.Keywords, keyword -> if not categories#?keyword
Expand Down
2 changes: 1 addition & 1 deletion M2/Macaulay2/packages/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CheckDocumentation ?= true
Verbose := $(if $(VERBOSE),true,false)
RerunExamples ?= false
debugLevel ?= 0
errorDepth ?= 3
errorDepth ?= 0

ARGS := RemakeAllDocumentation => $(RemakeAllDocumentation), \
IgnoreExampleErrors => $(IgnoreExampleErrors), \
Expand Down
Loading

0 comments on commit cbd7cca

Please sign in to comment.