Macaulay2 / Macaulay2/M2

error in "youngest"

Open
#1,610 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Documentation good beginners' project
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Macaulay2, version 1.16.0.2
with packages: Colon, ConwayPolynomials, Elimination, IntegralClosure, InverseSystems,
               LLLBases, MinimalPrimes, PrimaryDecomposition, ReesAlgebra, TangentCone,
               Truncations

i1 : help youngest

o1 = youngest -- the youngest member of a sequence
     *********************************************

     Description
     ===========

     youngest s -- return the youngest mutable hash table in the sequence s, if any, else
     "null".

     For the programmer
     ==================

     The object "youngest" is a compiled function.

o1 : DIV

i2 : youngest (bar,foo)

o2 = foo

o2 : Symbol

It should return null, since there are no mutable hash tables present.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the documented youngest behavior with help youngest and youngest (bar,foo) in Macaulay2, then locate the implementation of the compiled function. Done means a sequence with no mutable hash tables returns null, while the documented behavior for sequences containing one remains intact.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.