Skip to content

Reduce the maximum number of iterations for iterative refinement. - #144

Open
MaxenceGollier wants to merge 2 commits into
JuliaSmoothOptimizers:mainfrom
MaxenceGollier:update-max-iter
Open

Reduce the maximum number of iterations for iterative refinement.#144
MaxenceGollier wants to merge 2 commits into
JuliaSmoothOptimizers:mainfrom
MaxenceGollier:update-max-iter

Conversation

@MaxenceGollier

Copy link
Copy Markdown
Collaborator

Copilot AI review requested due to automatic review settings April 8, 2026 13:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR reduces the default maximum number of iterations used by the Golub–Riley iterative refinement routine, aligning the library’s default behavior with the referenced discussion.

Changes:

  • Lowered the default max_iter for qrm_golub_riley and qrm_golub_riley! from 50 to 3.
  • Updated the qrm_golub_riley! docstring example to reflect the new default.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/utils.jl Changes the default max_iter keyword argument in the Golub–Riley implementation/wrapper.
src/QRMumps.jl Updates documentation text referencing the default max_iter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/QRMumps.jl Outdated
@codecov

codecov Bot commented Apr 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.05%. Comparing base (12f9c39) to head (1b2bcf9).
⚠️ Report is 40 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #144      +/-   ##
==========================================
+ Coverage   75.71%   84.05%   +8.34%     
==========================================
  Files           5        6       +1     
  Lines         803     1079     +276     
==========================================
+ Hits          608      907     +299     
+ Misses        195      172      -23     

☔ View full report in Codecov by Harness.
📢 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.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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