Skip to content

Commit

Permalink
Add missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
zfergus committed Sep 6, 2024
1 parent aac99c4 commit 12d2d88
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/ipc/broad_phase/aabb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class AABB {

AABB(const AABB& aabb1, const AABB& aabb2, const AABB& aabb3)
: AABB(
aabb1.min.min(aabb2.min).min(aabb3.min),
aabb1.max.max(aabb2.max).max(aabb3.max))
aabb1.min.min(aabb2.min).min(aabb3.min),
aabb1.max.max(aabb2.max).max(aabb3.max))
{
}

Expand Down
10 changes: 5 additions & 5 deletions src/ipc/collision_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ CollisionMesh::CollisionMesh(
const Eigen::MatrixXi& faces,
const Eigen::SparseMatrix<double>& displacement_map)
: CollisionMesh(
std::vector<bool>(rest_positions.rows(), true),
rest_positions,
edges,
faces,
displacement_map)
std::vector<bool>(rest_positions.rows(), true),
rest_positions,
edges,
faces,
displacement_map)
{
}

Expand Down
2 changes: 2 additions & 0 deletions tests/src/tests/barrier/test_barrier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include <finitediff.hpp>

#include <memory>

namespace ipc {

class NormalizedClampedLogBarrier : public ipc::Barrier {
Expand Down

0 comments on commit 12d2d88

Please sign in to comment.