BUG: only normalize eigenvectors if they have been computed
Merge pull request #3122 from andrenarchy/eig-fix

BUG: linalg: fix division by zero in generalized eigenvalue problem