mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Fix a clang warning
Change-Id: I5ef32c6329f1f75efb30b16519b8de146a8339fa
This commit is contained in:
@@ -336,8 +336,8 @@ string Solver::Summary::FullReport() const {
|
||||
initial_cost - final_cost);
|
||||
}
|
||||
|
||||
StringAppendF(&report, "\nNumber of iterations: % 20ld\n",
|
||||
iterations.size() - 1);
|
||||
StringAppendF(&report, "\nNumber of iterations: % 20d\n",
|
||||
static_cast<int>(iterations.size() - 1));
|
||||
|
||||
StringAppendF(&report, "\nTime (in seconds):\n");
|
||||
StringAppendF(&report, "Preprocessor %25.3f\n",
|
||||
|
||||
Reference in New Issue
Block a user