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

Fix complex conjugate in MGS dot product #1678

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Fix complex conjugate in MGS dot product #1678

merged 1 commit into from
Sep 12, 2024

Conversation

nbeams
Copy link
Collaborator

@nbeams nbeams commented Sep 11, 2024

This fixes the discrepancy between MGS and CGS in GMRES convergence for complex numbers, since compute_conj_dot takes the conjugate of the calling vector, rather than the argument.

@nbeams nbeams added mod:core This is related to the core module. type:solver This is related to the solvers 1:ST:ready-for-review This PR is ready for review is:bugfix This fixes a bug labels Sep 11, 2024
@yhmtsai yhmtsai requested a review from a team September 11, 2024 19:52
@MarcelKoch MarcelKoch added 1:ST:ready-to-merge This PR is ready to merge. and removed 1:ST:ready-for-review This PR is ready for review labels Sep 12, 2024
@yhmtsai yhmtsai added this to the Ginkgo 1.9.0 milestone Sep 12, 2024
@nbeams nbeams merged commit b5745ac into develop Sep 12, 2024
10 of 14 checks passed
@nbeams nbeams deleted the gmres-fix-conj branch September 12, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1:ST:ready-to-merge This PR is ready to merge. is:bugfix This fixes a bug mod:core This is related to the core module. type:solver This is related to the solvers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants