Skip to content

Commit

Permalink
Fixes libc++ error
Browse files Browse the repository at this point in the history
The allocator was in the wrong container.
  • Loading branch information
fran6co committed Jan 6, 2015
1 parent 638de13 commit 4646b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ namespace pcl
float HEAD_ST_DIAMETER_;
float larger_radius_ratio_;
std::vector<Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > head_center_votes_;
std::vector<std::vector<Eigen::Vector3f>, Eigen::aligned_allocator<Eigen::Vector3f> > head_center_votes_clustered_;
std::vector<std::vector<Eigen::Vector3f>, Eigen::aligned_allocator<Eigen::Vector3f> > head_center_original_votes_clustered_;
std::vector<std::vector<Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > > head_center_votes_clustered_;
std::vector<std::vector<Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > > head_center_original_votes_clustered_;
std::vector<Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > angle_votes_;
std::vector<float> uncertainties_;
std::vector<Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > head_clusters_centers_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void pcl::RFFaceDetectorTrainer::faceVotesClustering()
ind.push_back (static_cast<int>(i));
votes_indices.push_back (ind);

std::vector < Eigen::Vector3f > votes_in_cluster;
std::vector < Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > votes_in_cluster;
votes_in_cluster.push_back (center_vote);
head_center_original_votes_clustered_.push_back (votes_in_cluster);

Expand Down

0 comments on commit 4646b36

Please sign in to comment.