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

include/libint2/diis.h #117

Closed
swillow opened this issue Jan 17, 2019 · 2 comments
Closed

include/libint2/diis.h #117

swillow opened this issue Jan 17, 2019 · 2 comments

Comments

@swillow
Copy link
Contributor

swillow commented Jan 17, 2019

Please check the following line.

line number 250:
A.block(1, 1, rank-1, rank-1) = B_.block(nskip, nskip, rank-1, rank-1)*norm;
-->
A.block(1, 1, rank-1, rank-1) = B_.block(nskip, nskip, nvec-1, nvec-1)*norm;

@evaleev
Copy link
Owner

evaleev commented Jan 17, 2019

3rd and 4th args to block are block sizes, hence they must match on both sides. see https://eigen.tuxfamily.org/dox/group__TutorialBlockOperations.html

@evaleev evaleev closed this as completed Jan 17, 2019
@swillow
Copy link
Contributor Author

swillow commented Jan 17, 2019 via email

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

No branches or pull requests

2 participants