Skip to content

Conversation

@MaxenceGollier
Copy link
Collaborator

@MaxenceGollier MaxenceGollier commented Sep 29, 2025

#231

Added a test in R2N and R2DH to make sure that sigmak >= sigma_min.

@MaxenceGollier MaxenceGollier mentioned this pull request Sep 29, 2025
6 tasks
@codecov
Copy link

codecov bot commented Sep 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.14%. Comparing base (e0f214d) to head (87d7649).
⚠️ Report is 163 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #232       +/-   ##
===========================================
+ Coverage   61.53%   86.14%   +24.60%     
===========================================
  Files          11       13        +2     
  Lines        1292     1573      +281     
===========================================
+ Hits          795     1355      +560     
+ Misses        497      218      -279     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines -321 to -332
if isa(solver.subsolver, R2Solver) #FIXME
solve!(solver.subsolver, solver.subpb, solver.substats, x = s, atol = sub_atol, ν = ν)
else
solve!(
solver.subsolver,
solver.subpb,
solver.substats,
x = s,
atol = sub_atol,
σk = σk, #FIXME
)
end
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am not sure to understand why we used ν when we called LM with R2Solver and σk else.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there is no sigma keyword in R2.solve! but $$\nu$$ which is $$1/\sigma$$.
Otherwise, we would call solve!(sigma = nu) in R2, as is done in R2DH.

@dpo dpo mentioned this pull request Dec 1, 2025
@MaxenceGollier MaxenceGollier marked this pull request as draft December 1, 2025 17:05
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