We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9712acd commit b0d3b4cCopy full SHA for b0d3b4c
2 files changed
gtsam/geometry/Rot3.h
@@ -49,6 +49,9 @@
49
50
namespace gtsam {
51
52
+template class GTSAM_EXPORT
53
+ OptionalJacobian<9, 3>;
54
+
55
/**
56
* @brief Rot3 is a 3D rotation represented as a rotation matrix if the
57
* preprocessor symbol GTSAM_USE_QUATERNIONS is not defined, or as a quaternion
gtsam/linear/NoiseModel.h
@@ -575,6 +575,9 @@ namespace gtsam {
575
* An isotropic noise model created by specifying a precision
576
*/
577
static shared_ptr Precision(size_t dim, double precision, bool smart = true) {
578
+ if (0 == precision) {
579
+ return nullptr;
580
+ }
581
return Variance(dim, 1.0/precision, smart);
582
}
583
0 commit comments