mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Remove Protocol Buffers support.
Change-Id: I451c543c82cdfb566736aab94d836abcfb5c689d
This commit is contained in:
@@ -41,8 +41,6 @@
|
||||
namespace ceres {
|
||||
namespace internal {
|
||||
|
||||
class SparseMatrixProto;
|
||||
|
||||
// This class defines the interface for storing and manipulating
|
||||
// sparse matrices. The key property that differentiates different
|
||||
// sparse matrices is how they are organized in memory and how the
|
||||
@@ -86,11 +84,6 @@ class SparseMatrix : public LinearOperator {
|
||||
// sparse matrix.
|
||||
virtual void ToDenseMatrix(Matrix* dense_matrix) const = 0;
|
||||
|
||||
#ifndef CERES_NO_PROTOCOL_BUFFERS
|
||||
// Dump the sparse matrix to a proto. Destroys the contents of proto.
|
||||
virtual void ToProto(SparseMatrixProto* proto) const = 0;
|
||||
#endif
|
||||
|
||||
// Write out the matrix as a sequence of (i,j,s) triplets. This
|
||||
// format is useful for loading the matrix into MATLAB/octave as a
|
||||
// sparse matrix.
|
||||
|
||||
Reference in New Issue
Block a user