fix a dozen of warnings with MSVC, and get rid of some useless throw()

This commit is contained in:
Gael Guennebaud
2012-02-06 15:57:51 +01:00
parent 6ad48c5d92
commit 99c694623a
6 changed files with 20 additions and 26 deletions

View File

@@ -56,7 +56,7 @@ namespace internal {
template< int Arch,typename VectorLhs,typename VectorRhs,
typename Scalar = typename VectorLhs::Scalar,
bool Vectorizable = (VectorLhs::Flags&VectorRhs::Flags)&PacketAccessBit>
bool Vectorizable = bool((VectorLhs::Flags&VectorRhs::Flags)&PacketAccessBit)>
struct cross3_impl {
static inline typename internal::plain_matrix_type<VectorLhs>::type
run(const VectorLhs& lhs, const VectorRhs& rhs)