summaryrefslogtreecommitdiffstats
path: root/mathfuncs_base.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-02-14 16:43:50 -0500
committerErik Schnetter <schnetter@gmail.com>2013-02-14 16:43:50 -0500
commitb53a3dee23a5209bc2f5748c0376f0ed8e491226 (patch)
tree2f4d623a21c71a440881747116368a2ab68107f7 /mathfuncs_base.h
parentea98bf5fa2bc59b0380a14881dfb7e168c331fc3 (diff)
downloadvecmathlib-b53a3dee23a5209bc2f5748c0376f0ed8e491226.zip
vecmathlib-b53a3dee23a5209bc2f5748c0376f0ed8e491226.tar.gz
Correct vector types used in math functions
Diffstat (limited to 'mathfuncs_base.h')
-rw-r--r--mathfuncs_base.h4
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;
OpenPOWER on IntegriCloud