Skip to content

Fix memory leak in GramSchmidt class; setup now in GMRES#198

Merged
pelesh merged 3 commits intodevelopfrom
gs-setup-fix
Oct 11, 2024
Merged

Fix memory leak in GramSchmidt class; setup now in GMRES#198
pelesh merged 3 commits intodevelopfrom
gs-setup-fix

Conversation

@pelesh
Copy link
Copy Markdown
Collaborator

@pelesh pelesh commented Oct 1, 2024

The PR addresses these issues issues:

  1. Fix memory leak in GramSchmidt class (resolves Memory leak in GramSchmidt class #196).
  2. Make iterative solver owning GramSchmidt instance responsible for setting it up (resolves Who has responsibility to set up GramSchmidt class instance? #197).
  3. Removes unused FGMRES constructors.
  4. Sets flags correctly upon completing GramSchmidt instance setup.

@pelesh pelesh added bug Something isn't working enhancement New feature or request testing examples labels Oct 1, 2024
@pelesh pelesh self-assigned this Oct 1, 2024
Comment thread resolve/GramSchmidt.cpp
Comment thread resolve/GramSchmidt.cpp
@pelesh pelesh requested a review from kswirydo October 7, 2024 21:13
@stonecoldhughes
Copy link
Copy Markdown
Collaborator

all tests pass for me locally!

Copy link
Copy Markdown
Collaborator

@stonecoldhughes stonecoldhughes left a comment

Choose a reason for hiding this comment

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

approved!

@pelesh pelesh mentioned this pull request Oct 8, 2024
4 tasks
@pelesh pelesh merged commit 3c7e5d2 into develop Oct 11, 2024
@pelesh pelesh deleted the gs-setup-fix branch March 13, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request examples testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Who has responsibility to set up GramSchmidt class instance? Memory leak in GramSchmidt class

2 participants