M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
Currently this doesn't work: ```m2 i1 : try true then 2 stdio:1:1:(3): error: syntax error : expected 'else' to match this 'try' ``` I would have expected it to be...
I believe the following line has a memory leak: ```m2 f = () -> (scan(0..10^7, i -> ());) ``` At least it seems like after several times running `f()`, M2...
Still haven't looked into the root cause, but I think this is a bug: ```m2 N = prune coker matrix{{2, -1}, {-1, 2}, {-1, -1}} -- cokernel | 3 |...
When debugging an error in a method call, particular if the method had options, I often have to repeatedly enter `end` several times, going through the same exact lines that...
Here is an example of a simple operation involving lists and sequences which should really be an O(1) operation. There are many others like it. ```m2 i1 : elapsedTime(10^8:0); --...
M2 shouldn't confused a file in the same directory named `elimination.m2` with the package `Elimination.m2`, even if it's running on macOS. This causes too many head scratching confusions for people.
I noticed an error in the output of LUdecomposition. Here is my MnWE: ``` K = matrix {{1, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}, {0,...
Whenever there are multiple PRs for adding packages, after the first one is merged there is a merge conflict. This is kind of silly and we should be able to...
I get this error when compiling on Mac OS 13.4: ```m2 ../../../../../../../Macaulay2/packages/ForeignFunctions.m2:566:9:(2):[69]: error: dlsym(RTLD_DEFAULT, GC_malloc): symbol not found ../../../../../../../Macaulay2/m2/methods.m2:154:80:(1):[67]: --back trace-- ../../../../../../../Macaulay2/m2/option.m2:17:8:(1):[66]: --back trace-- ../../../../../../../Macaulay2/packages/ForeignFunctions.m2:563:30:(2):[65]: --back trace-- ../../../../../../../Macaulay2/m2/methods.m2:154:80:(1):[64]: --back trace--...
At some point, Macaulay2 stopped being able to be used by the CLion IDE. It loads fine, but the code analysis and refactoring tools mostly don't work currently. I think...