-
Notifications
You must be signed in to change notification settings - Fork 161
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
bug in doTask(Conj, ScalarCplx &d)? #282
Labels
Comments
doTaskl(Conj, ScalarCplx &d)
That looks about right - thanks for adding this. It would be a good idea to test it of course. Does std::conj do an in place operation or does it return the conjugated value? If the second one, then you’ll need to write: d.val = std::conj(d.val); |
Oh I didn’t see that was exactly the change you were suggesting. Yes we should make this change - if you could make a pull request it would be much appreciated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ITensor/itensor/itdata/scalar.h
Line 178 in 78eb39a
Should this line be something like the following?
The text was updated successfully, but these errors were encountered: