aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Random.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/Random.h')
-rw-r--r--Eigen/src/Core/Random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Random.h b/Eigen/src/Core/Random.h
index 468216d56..394e6c3b0 100644
--- a/Eigen/src/Core/Random.h
+++ b/Eigen/src/Core/Random.h
@@ -49,7 +49,7 @@ template<typename MatrixType> class Random : NoOperatorEquals,
MaxColsAtCompileTime = MatrixType::Traits::MaxColsAtCompileTime
};
- const Random& _ref() const { return *this; }
+ const Random& _asArg() const { return *this; }
int _rows() const { return m_rows.value(); }
int _cols() const { return m_cols.value(); }