Skip to content

Commit

Permalink
Fix compilation error, by explicitely converting from eigen to opencv
Browse files Browse the repository at this point in the history
  • Loading branch information
nmellado committed Apr 29, 2016
1 parent 064d12e commit 7708a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/quad_extraction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ void testFunction( Scalar epsilon,
/// quadrangles extraction

// Compute the angle formed by the two vectors of the basis
Point3D b1 = basis.b - basis.a; b1.normalize();
Point3D b2 = basis.d - basis.c; b2.normalize();
Point3D b1 ((basis.b - basis.a).eval()); b1.normalize();
Point3D b2 ((basis.d - basis.c).eval()); b2.normalize();
double alpha = b1.dot(b2);


Expand Down

0 comments on commit 7708a58

Please sign in to comment.