summaryrefslogtreecommitdiffstats
path: root/vec_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_base.h')
-rw-r--r--vec_base.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vec_base.h b/vec_base.h
index f85ffbb..88d86c9 100644
--- a/vec_base.h
+++ b/vec_base.h
@@ -47,6 +47,15 @@ namespace vecmathlib {
template<typename real_t, int size>
inline
+ boolvec<real_t, size> ifthen(boolvec<real_t, size> c,
+ boolvec<real_t, size> x,
+ boolvec<real_t, size> y)
+ {
+ return c.ifthen(x, y);
+ }
+
+ template<typename real_t, int size>
+ inline
intvec<real_t, size> ifthen(boolvec<real_t, size> c,
intvec<real_t, size> x,
intvec<real_t, size> y)
OpenPOWER on IntegriCloud