aboutsummaryrefslogtreecommitdiff
path: root/internal/ceres/schur_eliminator_test.cc
diff options
context:
space:
mode:
authorSascha Haeberling <haeberling@google.com>2013-07-23 19:00:21 -0700
committerSascha Haeberling <haeberling@google.com>2013-07-24 12:00:09 -0700
commit1d2624a10e2c559f8ba9ef89eaa30832c0a83a96 (patch)
treef43667ef858dd0f377b15a58a9d5c9a126762c55 /internal/ceres/schur_eliminator_test.cc
parent0ae28bd5885b5daa526898fcf7c323dc2c3e1963 (diff)
downloadceres-solver-1d2624a10e2c559f8ba9ef89eaa30832c0a83a96.tar.gz
Update ceres to the latest version in google3.
Change-Id: I0165fffa55f60714f23e0096eac89fa68df75a05
Diffstat (limited to 'internal/ceres/schur_eliminator_test.cc')
-rw-r--r--internal/ceres/schur_eliminator_test.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/internal/ceres/schur_eliminator_test.cc b/internal/ceres/schur_eliminator_test.cc
index 56db598..a7e96ae 100644
--- a/internal/ceres/schur_eliminator_test.cc
+++ b/internal/ceres/schur_eliminator_test.cc
@@ -59,13 +59,6 @@ class SchurEliminatorTest : public ::testing::Test {
SetupHelper(problem.get());
}
- void SetUpFromFilename(const string& filename) {
- scoped_ptr<LinearLeastSquaresProblem>
- problem(CreateLinearLeastSquaresProblemFromFile(filename));
- CHECK_NOTNULL(problem.get());
- SetupHelper(problem.get());
- }
-
void SetupHelper(LinearLeastSquaresProblem* problem) {
A.reset(down_cast<BlockSparseMatrix*>(problem->A.release()));
b.reset(problem->b.release());
@@ -214,16 +207,5 @@ TEST_F(SchurEliminatorTest, ScalarProblem) {
EliminateSolveAndCompare(VectorRef(D.get(), A->num_cols()), false, 1e-14);
}
-#ifndef CERES_NO_PROTOCOL_BUFFERS
-TEST_F(SchurEliminatorTest, BlockProblem) {
- const string input_file = TestFileAbsolutePath("problem-6-1384-000.lsqp");
-
- SetUpFromFilename(input_file);
- ComputeReferenceSolution(VectorRef(D.get(), A->num_cols()));
- EliminateSolveAndCompare(VectorRef(D.get(), A->num_cols()), true, 1e-10);
- EliminateSolveAndCompare(VectorRef(D.get(), A->num_cols()), false, 1e-10);
-}
-#endif // CERES_NO_PROTOCOL_BUFFERS
-
} // namespace internal
} // namespace ceres