surpress some warnings

This commit is contained in:
Christoph Hertzberg
2015-08-17 21:50:52 +02:00
parent d2e0927127
commit 8097d8d028
2 changed files with 4 additions and 2 deletions

View File

@@ -15,7 +15,6 @@
template<typename MatrixType> bool find_pivot(typename MatrixType::Scalar tol, MatrixType &diffs, Index col=0)
{
typedef typename MatrixType::Scalar Scalar;
bool match = diffs.diagonal().sum() <= tol;
if(match || col==diffs.cols())
{