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

Fixed a bug of index mismatch if resume from a returned idmrg #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mingruyang
Copy link

No description provided.

Make the index match if resume from a returned idmrg.
@emstoudenmire
Copy link
Contributor

Thanks! With this change, does it also still work correctly to start from "scratch" meaning not from a previously saved state?

@mingruyang
Copy link
Author

mingruyang commented Mar 21, 2023

I think so. Because when it starts from scratch, the psi(0) will be default constructed so if(psi(0)) will prevent the execution of the added sentence. I also tested it, and there is no problem.

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.

2 participants