Skip to content

Commit

Permalink
[hotfix] Changed from assignation to initialization for a matrix in s…
Browse files Browse the repository at this point in the history
…ymmetric3 that causes computations errors with ubuntu 14.04 in release mode.
  • Loading branch information
fvalenza committed Sep 30, 2015
1 parent 227a4cd commit 8de9a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spatial/symmetric3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ namespace se3
Symmetric3Tpl Sres;

// 4 a
const Matrix32 & L = decomposeltI();
const Matrix32 L( decomposeltI() );

// Y = R' L ===> (12 m + 8 a)
const Matrix2 & Y = R.template block<2,3>(1,0) * L;
const Matrix2 Y( R.template block<2,3>(1,0) * L );

// Sres= Y R ===> (16 m + 8a)
Sres.data_(1) = Y(0,0)*R(0,0) + Y(0,1)*R(0,1);
Expand Down

0 comments on commit 8de9a25

Please sign in to comment.