mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
CERES_DONT_HAVE_PROTOCOL_BUFFERS -> CERES_NO_PROTOCOL_BUFFERS.
Change-Id: I6c9f50e4c006faf4e75a8f417455db18357f3187
This commit is contained in:
committed by
ceres-solver code review
parent
8b4cb7aa2c
commit
dd2b17d7dd
@@ -57,7 +57,7 @@ class CompressedRowSparseMatrix : public SparseMatrix {
|
||||
//
|
||||
// We assume that m does not have any repeated entries.
|
||||
explicit CompressedRowSparseMatrix(const TripletSparseMatrix& m);
|
||||
#ifndef CERES_DONT_HAVE_PROTOCOL_BUFFERS
|
||||
#ifndef CERES_NO_PROTOCOL_BUFFERS
|
||||
explicit CompressedRowSparseMatrix(const SparseMatrixProto& proto);
|
||||
#endif
|
||||
|
||||
@@ -90,7 +90,7 @@ class CompressedRowSparseMatrix : public SparseMatrix {
|
||||
virtual void ScaleColumns(const double* scale);
|
||||
|
||||
virtual void ToDenseMatrix(Matrix* dense_matrix) const;
|
||||
#ifndef CERES_DONT_HAVE_PROTOCOL_BUFFERS
|
||||
#ifndef CERES_NO_PROTOCOL_BUFFERS
|
||||
virtual void ToProto(SparseMatrixProto* proto) const;
|
||||
#endif
|
||||
virtual void ToTextFile(FILE* file) const;
|
||||
|
||||
Reference in New Issue
Block a user