Skip to content

Commit

Permalink
Merge pull request #553 from lmontaut/topic/fix-normal-and-nearest-po…
Browse files Browse the repository at this point in the history
…ints

Test: fix compilation error with Eigen 3.3.7
  • Loading branch information
jcarpent authored Mar 19, 2024
2 parents 50d633b + f30f03b commit 0d162a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]
- Fixed `normal_and_nearest_points` test (no need to have Eigen 3.4) ([#553](https://github.com/humanoid-path-planner/hpp-fcl/pull/553))
- [#549](https://github.com/humanoid-path-planner/hpp-fcl/pull/549)
- Optimize EPA: ignore useless faces in EPA's polytope; warm-start support computation for `Convex`; fix edge-cases witness points computation.
- Add `Serializable` trait to transform, collision data, collision geometries, bounding volumes, bvh models, hfields. Collision problems can now be serialized from C++ and sent to python and vice versa.
Expand Down
4 changes: 2 additions & 2 deletions test/normal_and_nearest_points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ void test_normal_and_nearest_points(
}

template <size_t VecSize>
Eigen::Vector<FCL_REAL, VecSize> generateRandomVector(FCL_REAL min,
FCL_REAL max) {
Eigen::Matrix<FCL_REAL, VecSize, 1> generateRandomVector(FCL_REAL min,
FCL_REAL max) {
typedef Eigen::Vector<FCL_REAL, VecSize> VecType;
// Generate a random vector in the [min, max] range
VecType v = VecType::Random() * (max - min) * 0.5 +
Expand Down

0 comments on commit 0d162a5

Please sign in to comment.