Fix duplicate definition error by adding 'inline' to checkConvergence
parent
2270c7d787
commit
971b575715
|
@ -18,7 +18,7 @@ using namespace std;
|
|||
namespace gtsam {
|
||||
|
||||
/* ************************************************************************* */
|
||||
bool check_convergence(double relativeErrorTreshold,
|
||||
inline bool check_convergence(double relativeErrorTreshold,
|
||||
double absoluteErrorTreshold, double currentError, double newError,
|
||||
int verbosity) {
|
||||
// check if diverges
|
||||
|
|
Loading…
Reference in New Issue