Fix warning

(grafted from c723ffd7635ea2067a514272c46e3c29184dc4eb
)
This commit is contained in:
Gael Guennebaud 2018-06-07 15:56:20 +02:00
parent 48048172e5
commit 523e442a7b

View File

@ -67,6 +67,7 @@ namespace internal {
// This method should implement "dst += alpha * lhs * rhs" inplace,
// however, for iterative solvers, alpha is always equal to 1, so let's not bother about it.
assert(alpha==Scalar(1) && "scaling is not implemented");
EIGEN_ONLY_USED_FOR_DEBUG(alpha);
// Here we could simply call dst.noalias() += lhs.my_matrix() * rhs,
// but let's do something fancier (and less efficient):