Skip to content

Commit

Permalink
fix bug against lapack 3.9.1 and above (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
zfb132 committed May 24, 2022
1 parent 050aa56 commit 45bf861
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions itensor/tensor/lapack_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,12 @@ imagRef(LAPACK_COMPLEX & z)
#ifdef FORTRAN_NO_TRAILING_UNDERSCORE
#define F77NAME(x) x
#else
#if defined(LAPACK_GLOBAL) || defined(LAPACK_NAME)
#define F77NAME(x) LAPACK_##x
#else
#define F77NAME(x) x##_
#endif
#endif

namespace itensor {

Expand Down

0 comments on commit 45bf861

Please sign in to comment.