Skip to content

Commit

Permalink
minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ueber2y committed Mar 20, 2024
1 parent 57895c5 commit e15088a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limap/base/line_linker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ double expscore(const double& val, const double& sigma) {

double get_multiplier(const double& score_th) {
// exp(- (val / sigma)^2 / 2.0) >= 0.5 <--> val <= 1.1774100 sigma
return sqrt(-log(score_th) * 2.0);
return 1.0 / sqrt(-log(score_th) * 2.0);
}

double LineLinker2d::compute_score_angle(const Line2d& l1, const Line2d& l2) const {
Expand Down

0 comments on commit e15088a

Please sign in to comment.