Skip to content

Commit

Permalink
Removed template constraint in dot function
Browse files Browse the repository at this point in the history
  • Loading branch information
gecko0307 committed Nov 20, 2013
1 parent 5a624a8 commit d77a5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlib/math/vector.d
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ struct Vector(T, int size)
/*
* Dot product
*/
T dot(T, int size) (Vector!(T,size) a, Vector!(T,size) b) if (size == 2)
T dot(T, int size) (Vector!(T,size) a, Vector!(T,size) b)
body
{
static if (size == 1)
Expand Down

0 comments on commit d77a5f4

Please sign in to comment.