MCPcopy Create free account
hub / github.com/PX4/eigen / main

Function main

failtest/sparse_ref_5.cpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5void call_ref(Ref<SparseMatrix<float> > a) { }
6
7int main()
8{
9 SparseMatrix<float> a(10,10);
10 SparseMatrixBase<SparseMatrix<float> > &ac(a);
11#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
12 call_ref(ac);
13#else
14 call_ref(ac.derived());
15#endif
16}

Callers

nothing calls this directly

Calls 1

call_refFunction · 0.70

Tested by

no test coverage detected