Skip to content
Snippets Groups Projects
Commit a68f8d19 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fixed phase in diagMatrix

Before this fix the phase was chosen enforcing the sum of the elements
of each eigenvector to be positive (see dd4bd09b).
This does not work well when the
sum is numerically close to zero for some symmetry. With this fix I
set the first non-zero element of each eigenvector to be positive.
Hopefully it is more robust and make results better reproducible
for regtesting
parent a569880e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment