Explorar o código

Fix the build.

Change-Id: I95a62a180a1a21fc379fe27b1309d72f19d9ef29
Sameer Agarwal %!s(int64=10) %!d(string=hai) anos
pai
achega
8ecfb2d705
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/ceres/problem_impl.cc

+ 1 - 1
internal/ceres/problem_impl.cc

@@ -253,7 +253,7 @@ ResidualBlock* ProblemImpl::AddResidualBlock(
         (std::adjacent_find(sorted_parameter_blocks.begin(),
                             sorted_parameter_blocks.end())
          != sorted_parameter_blocks.end());
-    if has_duplicate_items {
+    if (has_duplicate_items) {
       string blocks;
       for (int i = 0; i < parameter_blocks.size(); ++i) {
         blocks += StringPrintf(" %p ", parameter_blocks[i]);