summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mathfuncs_fabs.h2
-rw-r--r--vec_pseudo.h4
-rw-r--r--vec_test.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/mathfuncs_fabs.h b/mathfuncs_fabs.h
index 60fb0a8..d6e78f0 100644
--- a/mathfuncs_fabs.h
+++ b/mathfuncs_fabs.h
@@ -119,7 +119,7 @@ namespace vecmathlib {
}
template<typename realvec_t>
- auto mathfuncs<realvec_t>::vml_isnan(realvec_t x) -> boolvec_t
+ typename realvec_t::boolvec_t mathfuncs<realvec_t>::vml_isnan(realvec_t x)
{
#if defined VML_HAVE_NAN
return vml_ieee_isnan(x);
diff --git a/vec_pseudo.h b/vec_pseudo.h
index 09de4a5..abc1b30 100644
--- a/vec_pseudo.h
+++ b/vec_pseudo.h
@@ -1016,13 +1016,13 @@ namespace vecmathlib {
}
template<typename real_t, int size>
- inline auto prod(realpseudovec<real_t, size> x) -> real_t
+ inline real_t prod(realpseudovec<real_t, size> x)
{
return x.prod();
}
template<typename real_t, int size>
- inline auto sum(realpseudovec<real_t, size> x) -> real_t
+ inline real_t sum(realpseudovec<real_t, size> x)
{
return x.sum();
}
diff --git a/vec_test.h b/vec_test.h
index bbcaadb..c9d1140 100644
--- a/vec_test.h
+++ b/vec_test.h
@@ -950,13 +950,13 @@ namespace vecmathlib {
}
template<typename real_t, int size>
- inline auto prod(realtestvec<real_t, size> x) -> real_t
+ inline real_t prod(realtestvec<real_t, size> x)
{
return x.prod();
}
template<typename real_t, int size>
- inline auto sum(realtestvec<real_t, size> x) -> real_t
+ inline real_t sum(realtestvec<real_t, size> x)
{
return x.sum();
}
OpenPOWER on IntegriCloud