Skip to content

Fix bug in complex SVD LAPACK calls - #337

Merged
emstoudenmire merged 1 commit into
ITensor:v3from
Jack-Kemp:svdlapackfix
Mar 19, 2020
Merged

Fix bug in complex SVD LAPACK calls#337
emstoudenmire merged 1 commit into
ITensor:v3from
Jack-Kemp:svdlapackfix

Conversation

@Jack-Kemp

Copy link
Copy Markdown
Contributor

Unfortunately there was a bug in my PR #333 -- namely, the size for one of the matrices in the LAPACK routine was too great, causing it to possibly corrupt memory.

I guess it wasn't caught in the unit tests because the SVD still works: it just causes memory errors down the line rather than straight away.

I noticed there are additional improvements which could be done with all the LAPACK routines (not just the SVDs) with regards to LWORK but I wanted to get this bugfix out straight away.

@emstoudenmire

Copy link
Copy Markdown
Contributor

Thanks for continuing to keep an eye on this new code

@emstoudenmire
emstoudenmire merged commit b6572a9 into ITensor:v3 Mar 19, 2020
strandn pushed a commit to tgingrich/ITensor that referenced this pull request Nov 9, 2020
Fix bug in complex SVD LAPACK calls
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

Successfully merging this pull request may close these issues.

2 participants