Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[breaking] Remove shape function (duplicate of size) #297

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

JakobAsslaender
Copy link
Contributor

Hi everyone,

we have encountered in several of our packages a conflict between the functions LinearOperators.shape and Distributions.shape (JuliaImageRecon/LinearOperatorCollection.jl#3 (comment)). Since the former is a duplicate of size, I was wondering if it would be feasible to drop shape from this package. To make everyone's life easier, I put those changes in a PR.

This change would be breaking as we would drop an exported function. But fixes in other packages should be straight forward with a search & replace.

Many thanks for considering!

Copy link
Contributor

github-actions bot commented Dec 5, 2023

Package name latest stable
CaNNOLeS.jl
DCISolver.jl
FletcherPenaltySolver.jl
JSOSolvers.jl
Krylov.jl
NLPModels.jl
NLPModelsModifiers.jl
PROPACK.jl
Percival.jl
QuadraticModels.jl
SolverTools.jl

@JakobAsslaender
Copy link
Contributor Author

Solves #298

@JakobAsslaender
Copy link
Contributor Author

The failed test is due to missing compat declaration of packages shipped Base. I presume that this PR is not right place to rectify this, is it?

Copy link

@JeffFessler JeffFessler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@dpo dpo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dpo dpo merged commit 8a4bba3 into JuliaSmoothOptimizers:main Dec 5, 2023
39 of 40 checks passed
@JakobAsslaender JakobAsslaender deleted the RemoveShape branch December 5, 2023 23:01
@JeffFessler
Copy link

Oops, needs a version bump in Project.toml

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.

None yet

3 participants