Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into matlab-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jun 28, 2017
2 parents 0abebe8 + 982e413 commit 6099247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdal/EigenUtils.cpp
Expand Up @@ -92,7 +92,7 @@ Eigen::Matrix3f computeCovariance(PointView& view, std::vector<PointId> ids)
k++;
}

return A * A.transpose();
return A * A.transpose() / (ids.size()-1);
}

uint8_t computeRank(PointView& view, std::vector<PointId> ids, double threshold)
Expand Down

0 comments on commit 6099247

Please sign in to comment.