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

Remove Vector implicit assumption #455

Merged
merged 3 commits into from
Apr 23, 2024
Merged

Remove Vector implicit assumption #455

merged 3 commits into from
Apr 23, 2024

Conversation

tmigot
Copy link
Member

@tmigot tmigot commented Mar 26, 2024

In some places, we assume that the vectors are of type Vector{T} which is not necessary the case in practice.

Connected to #454

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.25%. Comparing base (d6e949f) to head (81b628c).

❗ Current head 81b628c differs from pull request most recent head 2a8819f. Consider uploading reports for the commit 2a8819f to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #455   +/-   ##
=======================================
  Coverage   99.25%   99.25%           
=======================================
  Files          13       13           
  Lines         807      809    +2     
=======================================
+ Hits          801      803    +2     
  Misses          6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Mar 26, 2024

Package name latest stable
ADNLPModels.jl
AmplNLReader.jl
CUTEst.jl
CaNNOLeS.jl
DCISolver.jl
FletcherPenaltySolver.jl
JSOSolvers.jl
LLSModels.jl
NLPModelsIpopt.jl
NLPModelsJuMP.jl
NLPModelsModifiers.jl
NLPModelsTest.jl
PDENLPModels.jl
Percival.jl
QuadraticModels.jl
SolverBenchmark.jl
SolverCore.jl
SolverTest.jl
SolverTools.jl

@tmigot tmigot marked this pull request as ready for review April 1, 2024 14:48
@tmigot tmigot linked an issue Apr 5, 2024 that may be closed by this pull request
Copy link
Member

@abelsiqueira abelsiqueira left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

Much cleaner, thank you! Just one minor comment, and the PR can be merged.

src/nlp/api.jl Outdated Show resolved Hide resolved
@tmigot tmigot merged commit 543d63c into main Apr 23, 2024
54 checks passed
@tmigot tmigot deleted the rmv-Vector branch April 23, 2024 11:21
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.

Uniform returned type in the NLPModel API
4 participants