Made numericalDerivative global functions inline so they can be included from multiple source files and linked together without name collisions
parent
2f83d194eb
commit
92539ed08c
|
|
@ -43,8 +43,8 @@ namespace gtsam {
|
|||
|
||||
|
||||
/** global functions for converting to a LieVector for use with numericalDerivative */
|
||||
LieVector makeLieVector(const Vector& v) { return LieVector(v); }
|
||||
LieVector makeLieVectorD(double d) { return LieVector(Vector_(1, d)); }
|
||||
inline LieVector makeLieVector(const Vector& v) { return LieVector(v); }
|
||||
inline LieVector makeLieVectorD(double d) { return LieVector(Vector_(1, d)); }
|
||||
|
||||
/**
|
||||
* Numerically compute gradient of scalar function
|
||||
|
|
|
|||
Loading…
Reference in New Issue