commit | d10e786ca82dfbb2d99ba0bbe32723495b2ecce0 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Thu Sep 21 22:33:38 2023 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Thu Sep 21 22:33:38 2023 -0700 |
tree | 9d2e8303ce7e4499cef53f5c89b80c281296689b | |
parent | 5a30cae58317f1d3f67270c27b3151be0b6a65e6 [diff] |
Remove an unused variable from CudaSparseMatrix Change-Id: Id9c969fda8d636dc793b98b452b2aaffacb11180
diff --git a/internal/ceres/cuda_sparse_matrix.cc b/internal/ceres/cuda_sparse_matrix.cc index 7507b15..33685a4 100644 --- a/internal/ceres/cuda_sparse_matrix.cc +++ b/internal/ceres/cuda_sparse_matrix.cc
@@ -185,7 +185,6 @@ void CudaSparseMatrix::SpMv(cusparseOperation_t op, const cusparseDnVecDescr_t& x, const cusparseDnVecDescr_t& y) const { - size_t buffer_size = 0; const double alpha = 1.0; const double beta = 1.0;