1
Description: fix for compiling with gcc 4.7
2
[Julian Taylor <jtaylor.debian@googlemail.com>]
3
* Include algorithm and added std::
4
Author: Julian Taylor <jtaylor.debian@googlemail.com>
13
// --------------------------------------------------------------------
14
// uBlas compatible matrix types
15
@@ -310,7 +311,7 @@ matrix<T> operator*(const matrix_base<T>
17
matrix<T> operator-(const matrix_base<T>& lhs, const matrix_base<T>& rhs)
19
- matrix<T> result(min(lhs.dim_m(), rhs.dim_m()), min(lhs.dim_n(), rhs.dim_n()));
20
+ matrix<T> result(std::min(lhs.dim_m(), rhs.dim_m()), std::min(lhs.dim_n(), rhs.dim_n()));
22
for (uint32 i = 0; i < result.dim_m(); ++i)