Run clang-format on the public headers.
Also update copyright year.
Change-Id: I8508d4fd4564c646ec2281a1b3b2c36136b54b46
diff --git a/include/ceres/tiny_solver.h b/include/ceres/tiny_solver.h
index e5e70b3..47db582 100644
--- a/include/ceres/tiny_solver.h
+++ b/include/ceres/tiny_solver.h
@@ -1,5 +1,5 @@
// Ceres Solver - A fast non-linear least squares minimizer
-// Copyright 2017 Google Inc. All rights reserved.
+// Copyright 2019 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
@@ -124,11 +124,11 @@
//
// int NumParameters() const;
//
-template<typename Function,
- typename LinearSolver = Eigen::LDLT<
- Eigen::Matrix<typename Function::Scalar,
- Function::NUM_PARAMETERS,
- Function::NUM_PARAMETERS>>>
+template <typename Function,
+ typename LinearSolver =
+ Eigen::LDLT<Eigen::Matrix<typename Function::Scalar,
+ Function::NUM_PARAMETERS,
+ Function::NUM_PARAMETERS>>>
class TinySolver {
public:
// This class needs to have an Eigen aligned operator new as it contains
@@ -168,7 +168,7 @@
Status status = HIT_MAX_ITERATIONS;
};
- bool Update(const Function& function, const Parameters &x) {
+ bool Update(const Function& function, const Parameters& x) {
if (!function(x.data(), error_.data(), jacobian_.data())) {
return false;
}