diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-02-14 16:43:50 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-02-14 16:43:50 -0500 |
commit | b53a3dee23a5209bc2f5748c0376f0ed8e491226 (patch) | |
tree | 2f4d623a21c71a440881747116368a2ab68107f7 | |
parent | ea98bf5fa2bc59b0380a14881dfb7e168c331fc3 (diff) | |
download | vecmathlib-b53a3dee23a5209bc2f5748c0376f0ed8e491226.zip vecmathlib-b53a3dee23a5209bc2f5748c0376f0ed8e491226.tar.gz |
Correct vector types used in math functions
-rw-r--r-- | mathfuncs_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mathfuncs_base.h b/mathfuncs_base.h index 99ff9fc..8c5c99a 100644 --- a/mathfuncs_base.h +++ b/mathfuncs_base.h @@ -21,8 +21,8 @@ namespace vecmathlib { static int const size = realvec_t::size; // typedef realvec<real_t, size> realvec_t; - typedef intvec<real_t, size> intvec_t; - typedef boolvec<real_t, size> boolvec_t; + typedef typename realvec_t::intvec_t intvec_t; + typedef typename realvec_t::boolvec_t boolvec_t; // Short names for type casts typedef real_t R; |