Fixed some issues

release/4.3a0
Frank Dellaert 2015-07-12 21:34:08 -07:00
parent 850c8a7921
commit d567b36f1a
1 changed files with 2 additions and 5 deletions

View File

@ -92,11 +92,8 @@ int main()
int n = 50000000;
cout << "NOTE: Times are reported for " << n << " calls" << endl;
// create a random direction:
double norm=sqrt(16.0+4.0);
double x=4.0/norm, y=2.0/norm;
Vector v = (Vector(2) << x, y).finished();
Rot2 R = Rot2(0.4), R2 = R.retract(v), R3(0.6);
Vector1 v; v << 0.1;
Rot2 R = Rot2(0.4), R2(0.5), R3(0.6);
TEST(Rot2_Expmap, Rot2::Expmap(v));
TEST(Rot2_Retract, R.retract(v));