Skip to content

Commit

Permalink
Fix minor bug in kernel creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Rosten committed Nov 8, 2012
1 parent d356b81 commit 2fb7fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvd_src/tensor_voting.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace CVD
double scale = exp(-(arclen * arclen + ratio * k*k));
Vector<2> d = rot(2*theta) * g;

return make_pair(g.as_col() * g.as_row(), scale);
return make_pair(d.as_col() * d.as_row(), scale);
}
}

Expand Down

0 comments on commit 2fb7fd9

Please sign in to comment.