change in traits.h for compatibility with NRVec as quantum register

This commit is contained in:
Jiri Pittner 2022-06-09 14:50:31 +02:00
parent e396a8ccd9
commit 40dadb63e8

View File

@ -349,6 +349,9 @@ template<typename C> \
struct LA_traits_aux<X<C>, scalar_false> { \ struct LA_traits_aux<X<C>, scalar_false> { \
typedef C elementtype; \ typedef C elementtype; \
typedef X<C> producttype; \ typedef X<C> producttype; \
typedef C PAIRTYPE[2]; \
typedef C QUADRUPLETYPE[4]; \
typedef X<C> SUBMATRIXTYPE; \
typedef typename LA_traits<C>::normtype normtype; \ typedef typename LA_traits<C>::normtype normtype; \
typedef X<typename LA_traits<C>::realtype> realtype; \ typedef X<typename LA_traits<C>::realtype> realtype; \
typedef X<typename LA_traits<C>::complextype> complextype; \ typedef X<typename LA_traits<C>::complextype> complextype; \