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

[linalg] Ensure succeeded variable is properly initialized in matrix-free solvers #8484

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liblaf
Copy link
Contributor

@liblaf liblaf commented Mar 11, 2024

The succeeded variable was not properly initialized in the MatrixFreeCG and MatrixFreeBICGSTAB functions, leading to potential issues with the convergence check. By initializing the succeeded variable at the beginning of the solve function, we ensure that the variable is correctly set and returned at the end of the function, improving the reliability of the solvers.

Issue: #

Brief Summary

copilot:summary

Walkthrough

copilot:walkthrough

…ree solvers

The `succeeded` variable was not properly initialized in the `MatrixFreeCG` and `MatrixFreeBICGSTAB` functions, leading to potential issues with the convergence check. By initializing the `succeeded` variable at the beginning of the `solve` function, we ensure that the variable is correctly set and returned at the end of the function, improving the reliability of the solvers.
Copy link

netlify bot commented Mar 11, 2024

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 5f79195
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/65eeba4655b24c0008806681
😎 Deploy Preview https://deploy-preview-8484--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@liblaf liblaf changed the title [bug] Ensure succeeded variable is properly initialized in matrix-free solvers [linalg] Ensure succeeded variable is properly initialized in matrix-free solvers Mar 11, 2024
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

1 participant