summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vec_qpx_double4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_qpx_double4.h b/vec_qpx_double4.h
index 6338271..f910cae 100644
--- a/vec_qpx_double4.h
+++ b/vec_qpx_double4.h
@@ -670,7 +670,7 @@ namespace vecmathlib {
inline
boolvec<double,4> boolvec<double,4>::ifthen(boolvec_t x, boolvec_t y) const
{
- return ifthen(x.as_float(), y.as_float()).as_int();
+ return ifthen(x.as_int(), y.as_int()).as_bool();
}
inline
OpenPOWER on IntegriCloud