Logo white

Peter M. Groen / openbr

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openbr
  • 3rdparty
  • eigen-eigen-c58038c56923
  • failtest
  • ref_2.cpp
  • updated to latest Eigen
    65b1a58f
    Josh Klontz authored
    2015-11-02 08:51:17 -0500  
    Browse Code ยป
ref_2.cpp 213 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "../Eigen/Core"

using namespace Eigen;

void call_ref(Ref<VectorXf> a) { }

int main()
{
  MatrixXf A(10,10);
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
  call_ref(A.row(3));
#else
  call_ref(A.col(3));
#endif
}