Merged in fix/deprecated-flag (pull request #210)
Fix GTSAM_ALLOW_DEPRECATED_SINCE_V4 flag typorelease/4.3a0
commit
4a0dc5e23b
|
@ -318,7 +318,7 @@ if(GTSAM_ENABLE_CONSISTENCY_CHECKS)
|
|||
add_definitions(-DGTSAM_EXTRA_CONSISTENCY_CHECKS)
|
||||
endif()
|
||||
|
||||
if(GTSAM_ENABLE_CONSISTENCY_CHECKS)
|
||||
if(GTSAM_ALLOW_DEPRECATED_SINCE_V4)
|
||||
add_definitions(-DGTSAM_ALLOW_DEPRECATED_SINCE_V4)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -493,7 +493,7 @@ namespace gtsam {
|
|||
static Rot3 roll (double t) { return Roll(t); }
|
||||
static Rot3 ypr(double y, double p, double r) { return Ypr(r,p,y);}
|
||||
static Rot3 quaternion(double w, double x, double y, double z) {
|
||||
return Rot3::Quaternion q(w, x, y, z);
|
||||
return Rot3::Quaternion(w, x, y, z);
|
||||
}
|
||||
/// @}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue