fix a coupe of warnings

This commit is contained in:
Gael Guennebaud
2010-01-05 10:15:29 +01:00
parent 71a171c267
commit 37851cfe11
4 changed files with 8 additions and 4 deletions

View File

@@ -126,6 +126,7 @@ class ei_sparse_cwise_binary_op_inner_iterator_selector<BinaryOp, Lhs, Rhs, Deri
}
else
{
m_value = 0; // this is to avoid a compilation warning
m_id = -1;
}
return *static_cast<Derived*>(this);