Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 15, 2023
1 parent ce3087f commit 8b94ea9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion g2o/core/auto_differentiation.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ class AutoDifferentiation {
template <int EdgeDimension, int VertexDimension>
using ADJacobianType =
typename Eigen::Matrix<double, EdgeDimension, VertexDimension,
(EdgeDimension > 1 && VertexDimension == 1) ? Eigen::ColMajor : Eigen::RowMajor>;
(EdgeDimension > 1 && VertexDimension == 1)
? Eigen::ColMajor
: Eigen::RowMajor>;

//! helper for computing the error based on the functor in the edge
static void computeError(Edge* that) {
Expand Down

0 comments on commit 8b94ea9

Please sign in to comment.