Skip to content

Commit

Permalink
Merge pull request #186 from artivis/fix/const_data_ptr
Browse files Browse the repository at this point in the history
Fix missing return in const data()
  • Loading branch information
artivis authored Dec 14, 2020
2 parents f656469 + 2084af3 commit 3453cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- devel
workflow_dispatch:

jobs:

Expand Down
2 changes: 1 addition & 1 deletion include/manif/impl/lie_group_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ template <typename _Derived>
const typename LieGroupBase<_Derived>::Scalar*
LieGroupBase<_Derived>::data() const
{
derived().coeffs().data();
return derived().coeffs().data();
}

template <typename _Derived>
Expand Down

0 comments on commit 3453cf8

Please sign in to comment.