Skip to content

Commit

Permalink
Fix error caused by constexpr
Browse files Browse the repository at this point in the history
Addresses Issue HAL#130
  • Loading branch information
crmauceri authored and crmauceri committed Jan 25, 2017
1 parent bb5a1a1 commit 49956d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cam/StereoRectify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ std::shared_ptr<calibu::Rig<double>> CreateScanlineRectifiedLookupAndCameras(con

// Setup new camera
Eigen::Vector2i size_;
Eigen::VectorXd params_(calibu::LinearCamera<double>::NumParams);
Eigen::VectorXd params_(1);
params_.resize(calibu::LinearCamera<double>::NumParams);
size_ << cam_left->Width(), cam_left->Height();
params_ << fu, fv, u0, v0;

Expand Down

0 comments on commit 49956d4

Please sign in to comment.