diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-06-12 16:25:44 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-06-12 16:25:44 -0400 |
commit | 44634107af38c667fa803f2a2797bb0aede3c171 (patch) | |
tree | 325092341a30f4c471ff669b4de9ad5d4a1bb48d | |
parent | ceb841f3ae396ab39db9181cb5ea6cd7ac8d408f (diff) | |
download | vecmathlib-44634107af38c667fa803f2a2797bb0aede3c171.zip vecmathlib-44634107af38c667fa803f2a2797bb0aede3c171.tar.gz |
Declare some functions without auto keyword
-rw-r--r-- | mathfuncs_fabs.h | 2 | ||||
-rw-r--r-- | vec_pseudo.h | 4 | ||||
-rw-r--r-- | vec_test.h | 4 |
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(); } @@ -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(); } |