summaryrefslogtreecommitdiffstats
path: root/vec_pseudo.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_pseudo.h')
-rw-r--r--vec_pseudo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vec_pseudo.h b/vec_pseudo.h
index ee2b1e0..e76cd00 100644
--- a/vec_pseudo.h
+++ b/vec_pseudo.h
@@ -524,13 +524,13 @@ namespace vecmathlib {
intvec_t as_int() const
{
intvec_t res;
- for (int d=0; d<size; ++d) res.v[d] = as_int(v[d]);
+ for (int d=0; d<size; ++d) res.v[d] = FP::as_int(v[d]);
return res;
}
intvec_t convert_int() const
{
intvec_t res;
- for (int d=0; d<size; ++d) res.v[d] = floatprops<T>::convert_int(v[d]);
+ for (int d=0; d<size; ++d) res.v[d] = FP::convert_int(v[d]);
return res;
}
@@ -770,7 +770,7 @@ namespace vecmathlib {
inline auto intpseudovec<T,N>::as_float() const -> realvec_t
{
realvec_t res;
- for (int d=0; d<size; ++d) res.v[d] = as_float(v[d]);
+ for (int d=0; d<size; ++d) res.v[d] = FP::as_float(v[d]);
return res;
}
@@ -778,7 +778,7 @@ namespace vecmathlib {
inline auto intpseudovec<T,N>::convert_float() const -> realvec_t
{
realvec_t res;
- for (int d=0; d<size; ++d) res.v[d] = floatprops<T>::convert_float(v[d]);
+ for (int d=0; d<size; ++d) res.v[d] = FP::convert_float(v[d]);
return res;
}
OpenPOWER on IntegriCloud