aboutsummaryrefslogtreecommitdiff
path: root/include/ceres/gradient_checker.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ceres/gradient_checker.h')
-rw-r--r--include/ceres/gradient_checker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ceres/gradient_checker.h b/include/ceres/gradient_checker.h
index 3ec8056..79ebae5 100644
--- a/include/ceres/gradient_checker.h
+++ b/include/ceres/gradient_checker.h
@@ -119,7 +119,7 @@ class GradientChecker {
// Do a consistency check between the term and the template parameters.
CHECK_EQ(M, term->num_residuals());
const int num_residuals = M;
- const vector<int16>& block_sizes = term->parameter_block_sizes();
+ const vector<int32>& block_sizes = term->parameter_block_sizes();
const int num_blocks = block_sizes.size();
CHECK_LE(num_blocks, 5) << "Unable to test functions that take more "