Skip to content

Conversation

@berquist
Copy link
Contributor

A bug where the list holding response vectors (self.x) wasn't cleared was hiding the fact that solve_dynamic_iterative was not correct.

@codecov-io
Copy link

Codecov Report

Merging #91 into master will decrease coverage by <.01%.
The diff coverage is 100%.

# Build initial guess, previous vectors, and DIIS objects
norb = self.scf_wfn.nmo()
C = np.asarray(self.C)
rhsmats = [C.T @ np.asarray(dipmat) @ C for dipmat in self.tmp_dipoles]
Copy link
Member

Choose a reason for hiding this comment

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

Could you use np.dot here. I do like the @ syntax better, just not sure if people are ready for it yet.

Copy link
Member

@dgasmith dgasmith left a comment

Choose a reason for hiding this comment

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

I am not quite sure I follow this error, but everything looks good to me in general. Happy to merge once this comes out of draft.

@berquist berquist marked this pull request as ready for review November 11, 2022 04:55
@berquist
Copy link
Contributor Author

It is lost to the ages what the actual problem with the iterative solver was (something with separate response vectors rather than a single combined U?), but I had left this draft in the hopes of referencing another paper or two, but clearly that didn't happen. The code has been done the entire time.

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.

3 participants