Skip to content

Commit

Permalink
Fixed warning due to eventually unused typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-lehn committed May 11, 2014
1 parent 2e5f1b3 commit 7cb01af
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions flens/lapack/he/td2.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,12 @@ td2(MA &&A,
//
// Remove references from rvalue types
//
# ifdef CHECK_CXXLAPACK
typedef typename RemoveRef<MA>::Type MatrixA;
typedef typename RemoveRef<VD>::Type VectorD;
typedef typename RemoveRef<VE>::Type VectorE;
typedef typename RemoveRef<VTAU>::Type VectorTau;
# endif

# ifndef NDEBUG
//
Expand Down
2 changes: 2 additions & 0 deletions flens/lapack/he/trd.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,13 @@ trd(MA &&A,
//
// Remove references from rvalue types
//
# ifdef CHECK_CXXLAPACK
typedef typename RemoveRef<MA>::Type MatrixA;
typedef typename RemoveRef<VD>::Type VectorD;
typedef typename RemoveRef<VE>::Type VectorE;
typedef typename RemoveRef<VTAU>::Type VectorTau;
typedef typename RemoveRef<VWORK>::Type VectorWork;
# endif

# ifndef NDEBUG
//
Expand Down
5 changes: 4 additions & 1 deletion flens/lapack/la/larfb.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,11 @@ larfb(Side side,
//
// Remove references from rvalue types
//
# ifdef CHECK_CXXLAPACK
# if defined(CHECK_CXXLAPACK) || !defined(NDEBUG)
typedef typename RemoveRef<MC>::Type MatrixC;
# endif

# ifdef CHECK_CXXLAPACK
typedef typename RemoveRef<MWORK>::Type MatrixWork;
# endif
//
Expand Down
2 changes: 2 additions & 0 deletions flens/lapack/la/latrd.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,12 @@ latrd(MA &&A,
//
// Remove references from rvalue types
//
# ifdef CHECK_CXXLAPACK
typedef typename RemoveRef<MA>::Type MatrixA;
typedef typename RemoveRef<VE>::Type VectorE;
typedef typename RemoveRef<VTAU>::Type VectorTau;
typedef typename RemoveRef<MW>::Type MatrixW;
# endif

# ifndef NDEBUG
//
Expand Down

0 comments on commit 7cb01af

Please sign in to comment.