You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GTSAM-Concepts.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ In GTSAM, all properties and operations needed to use a type must be defined thr
22
22
In detail, we ask that the following items are defined in the traits object (although, not all are needed for optimization):
23
23
24
24
* values:
25
-
*`enum { dimension = D};`, an enum that indicates the dimensionality *n* of the manifold. In Eigen-fashion, we also support manifolds whose dimensionality is only defined at runtime, by specifying the value -1.
25
+
*`inline constexpr static auto dimension = D;`, a constexpr that indicates the dimensionality *n* of the manifold. In Eigen-fashion, we also support manifolds whose dimensionality is only defined at runtime, by specifying the value -1.
26
26
* types:
27
27
*`TangentVector`, type that lives in tangent space. This will almost always be an `Eigen::Matrix<double,n,1>`.
28
28
*`ChartJacobian`, a typedef for `OptionalJacobian<dimension, dimension>`.
0 commit comments