Fix Matrix_() to Mat() in examples

release/4.3a0
Jing Dong 2013-10-14 15:41:33 +00:00
parent 4478bc6b87
commit 2e30709b35
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public:
// Consequently, the Jacobians are:
// [ derror_x/dx derror_x/dy derror_x/dtheta ] = [1 0 0]
// [ derror_y/dx derror_y/dy derror_y/dtheta ] = [0 1 0]
if (H) (*H) = Matrix_(2,3, 1.0,0.0,0.0, 0.0,1.0,0.0);
if (H) (*H) = (Mat(2,3) << 1.0,0.0,0.0, 0.0,1.0,0.0);
return (Vec(2) << q.x() - mx_, q.y() - my_);
}