summaryrefslogtreecommitdiffstats
path: root/vec_qpx_double4.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_qpx_double4.h')
-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 118815d..1b52419 100644
--- a/vec_qpx_double4.h
+++ b/vec_qpx_double4.h
@@ -570,7 +570,7 @@ namespace vecmathlib {
realvec atanh() const { return atanhd4(v); }
realvec cbrt() const { return cbrtd4(v); }
realvec ceil() const { return vec_ceil(v); }
- realvec copysign(realvec y) const { return vec_cpsgn(v, y.v); }
+ realvec copysign(realvec y) const { return vec_cpsgn(y.v, v); }
realvec cos() const { return cosd4(v); }
realvec cosh() const { return coshd4(v); }
realvec exp() const { return expd4(v); }
OpenPOWER on IntegriCloud