mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
restrict identity() to square matrices; small change helping g++ optimize.
This commit is contained in:
@@ -116,7 +116,7 @@ template<typename Scalar, typename Derived> class Object
|
||||
static Zero<Derived>
|
||||
zero(int rows = RowsAtCompileTime, int cols = ColsAtCompileTime);
|
||||
static Identity<Derived>
|
||||
identity(int rows = RowsAtCompileTime, int cols = ColsAtCompileTime);
|
||||
identity(int rows = RowsAtCompileTime);
|
||||
|
||||
template<typename OtherDerived>
|
||||
bool isApprox(
|
||||
|
||||
Reference in New Issue
Block a user