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

Update CUTEst.jl for CUTEst v2.3.0 #423

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

amontoison
Copy link
Member

No description provided.

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

Attention: Patch coverage is 18.18182% with 9 lines in your changes missing coverage. Please review.

Project coverage is 74.18%. Comparing base (f2ad6a4) to head (cf00283).
Report is 110 commits behind head on main.

Files with missing lines Patch % Lines
src/libcutest.jl 18.18% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #423       +/-   ##
===========================================
- Coverage   89.11%   74.18%   -14.94%     
===========================================
  Files           5        7        +2     
  Lines         790     1654      +864     
===========================================
+ Hits          704     1227      +523     
- Misses         86      427      +341     

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

@amontoison amontoison merged commit 1f0639d into JuliaSmoothOptimizers:main Oct 10, 2024
12 of 15 checks passed
@amontoison amontoison deleted the release-1.0.2 branch October 10, 2024 21:50
Comment on lines +5 to +6
# class = Vector{Cchar}(undef, 30)
# CUTEst.classification(T, nlp.libsif, nlp.status, nlp.funit, class)
Copy link
Member

Choose a reason for hiding this comment

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

What was wrong here @amontoison ? As the function is no longer tested it seems

Copy link
Member Author

@amontoison amontoison Oct 11, 2024

Choose a reason for hiding this comment

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

Nick added this routine with the release 2.3.0 but I have some issue to make it work in Julia.
I think that Fortran changes the Julia pointer and it leads to a seg fault but we can't do that.
Julia own the memory.

With this new release of CUTEst, we also added a C version for all routines with string (name) and it means that strring are null-terminated (Ptr{Cchar} -> Cstring).

If I find time, I would like to update all api related to routine with string.

Copy link
Member

Choose a reason for hiding this comment

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

Oki, thanks! Could you make an issue for that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's wait that all the C tests in CUTEst passed first:
ralna/CUTEst#67

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