Fix bug #535: unused variable warnings

This commit is contained in:
Gael Guennebaud
2012-12-16 20:21:28 +01:00
parent 6c8cf15c06
commit 925a5b7d07
3 changed files with 3 additions and 3 deletions

View File

@@ -209,6 +209,7 @@ class SparseSelfAdjointTimeDenseProduct
template<typename Dest> void scaleAndAddTo(Dest& dest, const Scalar& alpha) const
{
EIGEN_ONLY_USED_FOR_DEBUG(alpha);
// TODO use alpha
eigen_assert(alpha==Scalar(1) && "alpha != 1 is not implemented yet, sorry");
typedef typename internal::remove_all<Lhs>::type _Lhs;