Fix duplicate definition error by adding 'inline' to checkConvergence
parent
2270c7d787
commit
971b575715
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue