Skip to content

Work around upcoming SLOPE package changes#6

Merged
psobczyk merged 2 commits intopsobczyk:masterfrom
jolars:new-slope-workaround
Jun 19, 2025
Merged

Work around upcoming SLOPE package changes#6
psobczyk merged 2 commits intopsobczyk:masterfrom
jolars:new-slope-workaround

Conversation

@jolars
Copy link
Contributor

@jolars jolars commented Jun 2, 2025

I am about to introduce some breaking changes in the SLOPE package. The nonzeros item in the object returned from SLOPE() is going to disappear. In addition, coefficients will now be a list.

This PR is a temporary workaround which checks if coefficients is a list (currently it is an array), and behaves appropriately if so.

The `nonzeros` item in the object returned from `SLOPE()` is going to
disappear. In addition, `coefficients` will now be a list. This a
temporary workaround that can be removed once SLOPE 1.0.0 is released.
@jolars
Copy link
Contributor Author

jolars commented Jun 3, 2025

Sorry about the inconvenience by the way!

@psobczyk psobczyk merged commit 6d2bfab into psobczyk:master Jun 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants