mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Use int32 for parameter block sizes.
CostFunction now uses int32 instead of int16 to store the size of its parameter blocks. This is an API breaking change. Change-Id: I032ea583bc7ea4b3009be25d23a3be143749c73e
This commit is contained in:
@@ -224,7 +224,7 @@ ResidualBlock* ProblemImpl::AddResidualBlock(
|
||||
cost_function->parameter_block_sizes().size());
|
||||
|
||||
// Check the sizes match.
|
||||
const vector<int16>& parameter_block_sizes =
|
||||
const vector<int32>& parameter_block_sizes =
|
||||
cost_function->parameter_block_sizes();
|
||||
|
||||
if (!options_.disable_all_safety_checks) {
|
||||
|
||||
Reference in New Issue
Block a user