summaryrefslogtreecommitdiffstats
path: root/vec_sse_double2.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_sse_double2.h')
-rw-r--r--vec_sse_double2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_sse_double2.h b/vec_sse_double2.h
index 0d847aa..0660bd9 100644
--- a/vec_sse_double2.h
+++ b/vec_sse_double2.h
@@ -117,7 +117,7 @@ namespace vecmathlib {
bool any() const
{
#if defined __AVX__
- return ! _mm_testz_pd(v, v);
+ return ! bool(_mm_testz_pd(v, v));
#else
return (*this)[0] || (*this)[1];
#endif
OpenPOWER on IntegriCloud