summaryrefslogtreecommitdiffstats
path: root/mathfuncs_rcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'mathfuncs_rcp.h')
-rw-r--r--mathfuncs_rcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_rcp.h b/mathfuncs_rcp.h
index 0349cc8..6e12b27 100644
--- a/mathfuncs_rcp.h
+++ b/mathfuncs_rcp.h
@@ -63,7 +63,7 @@ namespace vecmathlib {
// Initial guess
VML_ASSERT(all(x > RV(0.0)));
intvec_t x_exp;
- x = frexp(x, x_exp);
+ x = frexp(x, &x_exp);
VML_ASSERT(all(x >= RV(0.5) && x < RV(1.0)));
realvec_t r = RV(R(48.0)/R(17.0)) - RV(R(32.0)/R(17.0)) * x;
OpenPOWER on IntegriCloud