Fix broken asserts releaved by Clang.

This commit is contained in:
Keir Mierle 2012-01-18 15:03:27 -08:00
parent bc0fc5d21e
commit 0fa2b394ce
2 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ void EigenSolver<MatrixType>::doComputeEigenvectors()
}
else
{
eigen_assert("Internal bug in EigenSolver"); // this should not happen
eigen_assert(0 && "Internal bug in EigenSolver"); // this should not happen
}
}

View File

@ -225,7 +225,7 @@ public:
normal() = mat * normal();
else
{
eigen_assert("invalid traits value in Hyperplane::transform()");
eigen_assert(0 && "invalid traits value in Hyperplane::transform()");
}
return *this;
}