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

Issue with potential energy #1

Open
alexdgenu opened this issue Jun 10, 2021 · 1 comment
Open

Issue with potential energy #1

alexdgenu opened this issue Jun 10, 2021 · 1 comment
Assignees

Comments

@alexdgenu
Copy link

Hi,

I keep having this issue, and as I try to solve it persists (in google colab).

'TensorPropagator' object has no attribute 'pot_eng'

in this line (325):

pot = sum([d * pot for d, pot in
zip(dens, ttools.to_numpy(self.pot_eng))])

@bdsmith147
Copy link
Member

TensorPropagator has an attribute called pot_eng_spin. Try replacing that in your version:

pot = sum([d * pot for d, pot in zip(dens, ttools.to_numpy(self.pot_eng_spin))])

@bdsmith147 bdsmith147 assigned bdsmith147 and unassigned bdsmith147 Dec 16, 2021
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