Closed maxscheurer closed 4 years ago
@mfherbst seems to work, also with the response vectors (that's why I can now use the CG from adcc
). I don't know if there's some pitfall that we don't cover with our tests and if the change is acceptable...
Actually ... https://github.com/adc-connect/adcc/blob/75dd60b3bc0a5bba1e4f33168201a90b550de1b3/adcc/functions.py#L145-L152 ... I just did the same thing in the other branch.
Ups sorry ... I did not want to close.
Ok. I think I'll split #71 and we merge some of it. There is no point in us repeating the work.
I'll do this in #77 if you don't mind.
This is needed to achieve compatibility with stuff derived off tensors or amplitude vectors (e.g. a complex response vector)...
Probably some changes will also be made in the CG code if needed (I don't want to have an extra CG solver for complex response functions)