-
Notifications
You must be signed in to change notification settings - Fork 475
Fixes orbital read for finite difference hessian #2827
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
Conversation
|
are the new tests hitting the bug? code change was to findif. if it's not too long, you could have a dertype=1 and a dertype=0 in the test input. |
|
Yes, the new test would hit the bug and raise the |
loriab
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
for any others who are wondering how write_orbitals is getting turned on, I think it's here
JonathonMisiewicz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good, and the test case is good.
For posterity, please update the test intro to explicitly say that optimization will read the previous set of orbitals.
JonathonMisiewicz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
@AlexHeide Notify us when this PR can be merged. You haven't checked the "ready to merge" box yet. |
|
rdy! |
Description
Fixes a bug encountered when running optimizations in BAKERJCC96. All calculations in a finite difference
calculation were writing orbitals to disk and overwriting the old orbitals. Only reference calculation should
be saved. In cases were the symmetry was lowered in one of the last displacements, subsequent gradient calculations
were failing to read orbitals.
User API & Changelog headlines
Dev notes & details
write_orbitals=falsethrough kwargs for displacementsQuestions
Checklist
Status