Fix duplicate definition error by adding 'inline' to checkConvergence

release/4.3a0
Richard Roberts 2009-12-14 06:10:51 +00:00
parent 2270c7d787
commit 971b575715
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ using namespace std;
namespace gtsam { namespace gtsam {
/* ************************************************************************* */ /* ************************************************************************* */
bool check_convergence(double relativeErrorTreshold, inline bool check_convergence(double relativeErrorTreshold,
double absoluteErrorTreshold, double currentError, double newError, double absoluteErrorTreshold, double currentError, double newError,
int verbosity) { int verbosity) {
// check if diverges // check if diverges