diff options
Diffstat (limited to 'extern/ceres/internal/ceres/schur_eliminator_template.py')
-rw-r--r-- | extern/ceres/internal/ceres/schur_eliminator_template.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/extern/ceres/internal/ceres/schur_eliminator_template.py b/extern/ceres/internal/ceres/schur_eliminator_template.py index 2f38cf5ad8f..50515956e89 100644 --- a/extern/ceres/internal/ceres/schur_eliminator_template.py +++ b/extern/ceres/internal/ceres/schur_eliminator_template.py @@ -93,9 +93,7 @@ HEADER = """// Ceres Solver - A fast non-linear least squares minimizer """ DYNAMIC_FILE = """ - #include "ceres/schur_eliminator_impl.h" -#include "ceres/internal/eigen.h" namespace ceres { namespace internal { @@ -113,7 +111,6 @@ SPECIALIZATION_FILE = """ #ifndef CERES_RESTRICT_SCHUR_SPECIALIZATION #include "ceres/schur_eliminator_impl.h" -#include "ceres/internal/eigen.h" namespace ceres { namespace internal { @@ -129,25 +126,24 @@ template class SchurEliminator<%s, %s, %s>; FACTORY_FILE_HEADER = """ #include "ceres/linear_solver.h" #include "ceres/schur_eliminator.h" -#include "ceres/internal/eigen.h" namespace ceres { namespace internal { -SchurEliminatorBase* -SchurEliminatorBase::Create(const LinearSolver::Options& options) { +SchurEliminatorBase* SchurEliminatorBase::Create( + const LinearSolver::Options& options) { #ifndef CERES_RESTRICT_SCHUR_SPECIALIZATION """ -FACTORY = """ return new SchurEliminator<%s, %s, %s>(options);""" +FACTORY = """ return new SchurEliminator<%s, %s, %s>(options);""" FACTORY_FOOTER = """ #endif VLOG(1) << "Template specializations not found for <" - << options.row_block_size << "," - << options.e_block_size << "," + << options.row_block_size << "," << options.e_block_size << "," << options.f_block_size << ">"; - return new SchurEliminator<Eigen::Dynamic, Eigen::Dynamic, Eigen::Dynamic>(options); + return new SchurEliminator<Eigen::Dynamic, Eigen::Dynamic, Eigen::Dynamic>( + options); } } // namespace internal |