summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-07-14 11:14:57 -0400
committerErik Schnetter <schnetter@gmail.com>2013-07-14 11:14:57 -0400
commit36c182b29db486985297b83ad3e9a2a2c91740ef (patch)
tree2334e22220d31dd30ecf1c1580dd75b83aa88d6d
parent4d638e9e185de608c0a665e117980cb13b94ab12 (diff)
downloadvecmathlib-36c182b29db486985297b83ad3e9a2a2c91740ef.zip
vecmathlib-36c182b29db486985297b83ad3e9a2a2c91740ef.tar.gz
Correct QPX ifthen
-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