summaryrefslogtreecommitdiffhomepage
path: root/eigen/Eigen/src/Core/Random.h
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/Eigen/src/Core/Random.h')
-rw-r--r--eigen/Eigen/src/Core/Random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigen/Eigen/src/Core/Random.h b/eigen/Eigen/src/Core/Random.h
index 486e9ed..6faf789 100644
--- a/eigen/Eigen/src/Core/Random.h
+++ b/eigen/Eigen/src/Core/Random.h
@@ -128,7 +128,7 @@ DenseBase<Derived>::Random()
* \sa class CwiseNullaryOp, setRandom(Index), setRandom(Index,Index)
*/
template<typename Derived>
-EIGEN_DEVICE_FUNC inline Derived& DenseBase<Derived>::setRandom()
+inline Derived& DenseBase<Derived>::setRandom()
{
return *this = Random(rows(), cols());
}