mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Fix for reoder program unit test when built without suitesparse
This commit fixes failure of reorder_program_test when Ceres is built without any suitesparse. Change-Id: Ia23ae8dfd20c482cb9cd1301f17edf9a34df3235
This commit is contained in:
@@ -169,7 +169,7 @@ TEST(_, ApplyOrderingNormal) {
|
||||
EXPECT_EQ(parameter_blocks[2]->user_state(), &y);
|
||||
}
|
||||
|
||||
|
||||
#ifndef CERES_NO_SUITESPARSE
|
||||
class ReorderProgramForSparseNormalCholeskyUsingSuiteSparseTest : public ::testing::Test {
|
||||
protected:
|
||||
void SetUp() {
|
||||
@@ -243,6 +243,7 @@ TEST_F(ReorderProgramForSparseNormalCholeskyUsingSuiteSparseTest,
|
||||
|
||||
ComputeAndValidateOrdering(linear_solver_ordering);
|
||||
}
|
||||
#endif // CERES_NO_SUITESPARSE
|
||||
|
||||
} // namespace internal
|
||||
} // namespace ceres
|
||||
|
||||
Reference in New Issue
Block a user