Skip to content

Commit

Permalink
fix type of the reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainer Kuemmerle committed Jun 12, 2014
1 parent aecec52 commit 057fc55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions g2o/core/base_multi_edge.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void BaseMultiEdge<D, E>::computeQuadraticForm(const InformationType& omega, con
bool istatus = !(from->fixed());

if (istatus) {
const MatrixXd& A = _jacobianOplus[i];
const JacobianType& A = _jacobianOplus[i];

MatrixXd AtO = A.transpose() * omega;
int fromDim = from->dimension();
Expand All @@ -198,7 +198,7 @@ void BaseMultiEdge<D, E>::computeQuadraticForm(const InformationType& omega, con
#endif
bool jstatus = !(to->fixed());
if (jstatus) {
const MatrixXd& B = _jacobianOplus[j];
const JacobianType& B = _jacobianOplus[j];
int idx = internal::computeUpperTriangleIndex(i, j);
assert(idx < (int)_hessian.size());
HessianHelper& hhelper = _hessian[idx];
Expand Down Expand Up @@ -367,7 +367,7 @@ void BaseMultiEdge<-1, E>::computeQuadraticForm(const InformationType& omega, co
bool istatus = !(from->fixed());

if (istatus) {
const MatrixXd& A = _jacobianOplus[i];
const JacobianType& A = _jacobianOplus[i];

MatrixXd AtO = A.transpose() * omega;
int fromDim = from->dimension();
Expand All @@ -390,7 +390,7 @@ void BaseMultiEdge<-1, E>::computeQuadraticForm(const InformationType& omega, co
#endif
bool jstatus = !(to->fixed());
if (jstatus) {
const MatrixXd& B = _jacobianOplus[j];
const JacobianType& B = _jacobianOplus[j];
int idx = internal::computeUpperTriangleIndex(i, j);
assert(idx < (int)_hessian.size());
HessianHelper& hhelper = _hessian[idx];
Expand Down

0 comments on commit 057fc55

Please sign in to comment.