Skip to content

Commit

Permalink
another fix for Eigen 3.3 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerKuemmerle committed Mar 25, 2016
1 parent 8461fba commit ee7f2e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion g2o/examples/tutorial_slam2d/simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ namespace g2o {

Vector2d bound(boundArea, boundArea);

VectorXd probLimits(MO_NUM_ELEMS);
VectorXd probLimits;
probLimits.resize(MO_NUM_ELEMS);
for (int i = 0; i < probLimits.size(); ++i)
probLimits[i] = (i + 1) / (double) MO_NUM_ELEMS;

Expand Down

0 comments on commit ee7f2e7

Please sign in to comment.