summaryrefslogtreecommitdiffstats
path: root/vec_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_test.h')
-rw-r--r--vec_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vec_test.h b/vec_test.h
index 5b557ae..84b4e0b 100644
--- a/vec_test.h
+++ b/vec_test.h
@@ -617,13 +617,13 @@ namespace vecmathlib {
real_t maxval() const
{
real_t res = v[0];
- for (int d=1; d<size; ++d) res = std::fmax(res, v[d]);
+ for (int d=1; d<size; ++d) res = vml_std::fmax(res, v[d]);
return res;
}
real_t minval() const
{
real_t res = v[0];
- for (int d=1; d<size; ++d) res = std::fmin(res, v[d]);
+ for (int d=1; d<size; ++d) res = vml_std::fmin(res, v[d]);
return res;
}
real_t prod() const
OpenPOWER on IntegriCloud