From 06a062c931cd6568475a347e13164f3b1740e31f Mon Sep 17 00:00:00 2001 From: Viorela Ila Date: Wed, 27 Jan 2010 19:45:31 +0000 Subject: [PATCH] Added special lines for static variables needed for template classes --- cpp/SubgraphPreconditioner.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cpp/SubgraphPreconditioner.h b/cpp/SubgraphPreconditioner.h index f9f098e5e..d8ea213ab 100644 --- a/cpp/SubgraphPreconditioner.h +++ b/cpp/SubgraphPreconditioner.h @@ -120,6 +120,12 @@ namespace gtsam { */ VectorConfig optimize(SubgraphPreconditioner& system) const; }; + + template const size_t SubgraphPCG::maxIterations_; + template const bool SubgraphPCG::verbose_; + template const double SubgraphPCG::epsilon_; + template const double SubgraphPCG::epsilon_abs_; + } // nsamespace gtsam #endif /* SUBGRAPHPRECONDITIONER_H_ */