Fix a few Index to int buggy conversions

This commit is contained in:
Gael Guennebaud
2014-02-15 09:35:23 +01:00
parent cd606bbc94
commit 4b6b3f310f
7 changed files with 26 additions and 24 deletions

View File

@@ -27,7 +27,7 @@ static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& r
// make sure to call innerSize/outerSize since we fake the storage order.
Index rows = lhs.innerSize();
Index cols = rhs.outerSize();
//int size = lhs.outerSize();
//Index size = lhs.outerSize();
eigen_assert(lhs.outerSize() == rhs.innerSize());
// allocate a temporary buffer