Macaulay2 / Macaulay2/M2

Eigen 5.0: some svd routines deprecated

Open Beginner friendly
#4,723 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Some things are depricated in new Eigen: there are warnings like
```
CXX eigen.cpp
../../../../../../Macaulay2/e/eigen.cpp:410:31: warning: 'BDCSVD' is deprecated: Options should be
specified using the class template parameter. [-Wdeprecated-declarations]
410 | Eigen::BDCSVD svd(AXmp, Eigen::ComputeThinU | Eigen::ComputeThinV);
```
We can live with the warning until Eigen 6.0... or do something.

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

Start in eigen.cpp at line 410 and inspect the BDCSVD call that produces the Eigen 5.0 deprecation warning. Build the relevant component to identify any other deprecated SVD uses, then confirm the warnings are addressed without changing the routine's behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.