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 the convergence check in self-consistent workflow #68

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

bastonero
Copy link
Collaborator

The convergence check on parameters had a bug in the logic. That logic would work for 1 Hubbard atom only, and that's the reason why this passed unseen in the tests. The fix is rather simple, and the new tests are tested again a case which made the old tests to make.

@bastonero
Copy link
Collaborator Author

Hi @t-reents, I ping you since you may also be interested in this. I am very sorry, but it passed rather unseen due to the tests always passing. At least you can either use caching or restart from the last Hubbard structure you managed to compute within the cycle.

@bastonero bastonero requested a review from mbercx April 23, 2024 16:24
The convergence check on parameters had a bug in the logic.
That logic would work for 1 Hubbard atom only, and that's the
reason why this passed unseen in the tests. The fix is rather
simple, and the new tests are tested again a case which made
the old tests to make.
Copy link
Collaborator

@t-reents t-reents left a comment

Choose a reason for hiding this comment

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

Thanks for pinging me and sorry for the slow response.

Looks good.

@bastonero
Copy link
Collaborator Author

Thanks @t-reents ! Let me know if you find anything that was extremely unconverged.

@bastonero bastonero merged commit 07eb985 into master Apr 24, 2024
6 checks passed
@bastonero bastonero deleted the fix/check-convergence branch April 24, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants