diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-07-14 11:14:57 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-07-14 11:14:57 -0400 |
commit | 36c182b29db486985297b83ad3e9a2a2c91740ef (patch) | |
tree | 2334e22220d31dd30ecf1c1580dd75b83aa88d6d | |
parent | 4d638e9e185de608c0a665e117980cb13b94ab12 (diff) | |
download | vecmathlib-36c182b29db486985297b83ad3e9a2a2c91740ef.zip vecmathlib-36c182b29db486985297b83ad3e9a2a2c91740ef.tar.gz |
Correct QPX ifthen
-rw-r--r-- | vec_qpx_double4.h | 2 |
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 |