mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Remove unused variables from cuda_dense_cholesky_test.cc
Change-Id: I418f219eb98a22d0844a76513be4e08374dd3b87
This commit is contained in:
@@ -57,10 +57,10 @@ TEST(CUDADenseCholesky, Cholesky4x4Matrix) {
|
||||
A << 4, 12, -16, 0,
|
||||
12, 37, -43, 0,
|
||||
-16, -43, 98, 0,
|
||||
0, 0, 0, 1;
|
||||
// clang-format on
|
||||
0, 0, 0, 1;Sb
|
||||
// clang-format on
|
||||
|
||||
const Eigen::Vector4d b = Eigen::Vector4d::Ones();
|
||||
const Eigen::Vector4d b = Eigen::Vector4d::Ones();
|
||||
LinearSolver::Options options;
|
||||
ContextImpl context;
|
||||
options.context = &context;
|
||||
@@ -89,7 +89,6 @@ TEST(CUDADenseCholesky, SingularMatrix) {
|
||||
0, 0, 0;
|
||||
// clang-format on
|
||||
|
||||
const Eigen::Vector3d b = Eigen::Vector3d::Ones();
|
||||
LinearSolver::Options options;
|
||||
ContextImpl context;
|
||||
options.context = &context;
|
||||
@@ -111,7 +110,6 @@ TEST(CUDADenseCholesky, NegativeMatrix) {
|
||||
0, 0, -1;
|
||||
// clang-format on
|
||||
|
||||
const Eigen::Vector3d b = Eigen::Vector3d::Ones();
|
||||
LinearSolver::Options options;
|
||||
ContextImpl context;
|
||||
options.context = &context;
|
||||
|
||||
Reference in New Issue
Block a user