From 5c01d25733b3cc881727a8b80f3a8faa52b8f118 Mon Sep 17 00:00:00 2001 From: Sameer Agarwal Date: Wed, 28 Sep 2022 15:43:15 -0700 Subject: [PATCH] Remove unused variables from cuda_dense_cholesky_test.cc Change-Id: I418f219eb98a22d0844a76513be4e08374dd3b87 --- internal/ceres/cuda_dense_cholesky_test.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/internal/ceres/cuda_dense_cholesky_test.cc b/internal/ceres/cuda_dense_cholesky_test.cc index 4c5742e99..53fa78b9e 100644 --- a/internal/ceres/cuda_dense_cholesky_test.cc +++ b/internal/ceres/cuda_dense_cholesky_test.cc @@ -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;