Skip to content

Commit

Permalink
[manifolds] pinocchio-groups : return false for isNormalized()
Browse files Browse the repository at this point in the history
  • Loading branch information
ManifoldFR committed Dec 4, 2023
1 parent 21ea9ee commit d9f3189
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/proxnlp/modelling/spaces/pinocchio-groups.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ struct PinocchioLieGroup

PointType rand() const { return lg_.random(); }
bool isNormalized(const ConstVectorRef &x) const {
if (x.size() < nx())
return false;
return lg_.isNormalized(x);
}
};
Expand Down

0 comments on commit d9f3189

Please sign in to comment.