Remove leftover commented out unused code

release/4.3a0
justinca 2010-01-21 19:49:36 +00:00
parent f89a53ed91
commit 7575996d52
1 changed files with 0 additions and 1 deletions

View File

@ -114,7 +114,6 @@ namespace gtsam {
inline Vector logmap(const Rot3& R) {
double tr = R.r1().x()+R.r2().y()+R.r3().z();
if (fabs(tr-3.0) < 1e-10) // when theta = 0, +-2pi, +-4pi, etc.
// if (tr == 3.0) // when theta = 0, +-2pi, +-4pi, etc.
return zero(3);
else if (tr==-1.0) { // when theta = +-pi, +-3pi, +-5pi, etc.
if(R.r3().z() != -1.0)