mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Fix a missing CERES_NO_CUDA guard
Also run format_all.sh. Change-Id: I13902c1d3eb0d3a97548540fee13ec67c490a5ff
This commit is contained in:
@@ -155,8 +155,8 @@ class ImplicitSchurComplementTest : public ::testing::Test {
|
||||
// Here, assuming that block_diagonal(F'F) == diagonal(F'F)
|
||||
Matrix Z_reference =
|
||||
(F.transpose() * F + DF).diagonal().asDiagonal().inverse() *
|
||||
F.transpose() * E * (E.transpose() * E + DE).inverse() *
|
||||
E.transpose() * F;
|
||||
F.transpose() * E * (E.transpose() * E + DE).inverse() * E.transpose() *
|
||||
F;
|
||||
|
||||
for (int i = 0; i < num_f_cols; ++i) {
|
||||
Vector x(num_f_cols);
|
||||
@@ -166,7 +166,6 @@ class ImplicitSchurComplementTest : public ::testing::Test {
|
||||
Vector y(num_f_cols);
|
||||
y = lhs * x;
|
||||
|
||||
|
||||
Vector z(num_f_cols);
|
||||
isc.RightMultiplyAndAccumulate(x.data(), z.data());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user