gtsam
3rdparty
Eigen
failtest
selfadjointview_on_const_type_actually_const.cpp
Go to the documentation of this file.
1
#include "../Eigen/Core"
2
3
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4
#define CV_QUALIFIER const
5
#else
6
#define CV_QUALIFIER
7
#endif
8
9
using namespace
Eigen
;
10
11
void
foo
(){
12
MatrixXf
m
;
13
SelfAdjointView<CV_QUALIFIER MatrixXf,Upper>
(
m
).
coeffRef
(0, 0) = 1.0f;
14
}
15
16
int
main
() {}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
Eigen::SelfAdjointView
Expression of a selfadjoint matrix from a triangular part of a dense matrix.
Definition:
SelfAdjointView.h:49
main
int main()
Definition:
selfadjointview_on_const_type_actually_const.cpp:16
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
Eigen::SelfAdjointView::coeffRef
EIGEN_DEVICE_FUNC Scalar & coeffRef(Index row, Index col)
Definition:
SelfAdjointView.h:102
foo
void foo()
Definition:
selfadjointview_on_const_type_actually_const.cpp:11
gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:02:41