mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-25 07:43:14 +08:00
fix compilation with clang 2.8
This commit is contained in:
parent
ea7d872181
commit
afc9efca15
@ -192,14 +192,14 @@ template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int
|
|||||||
inline Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>
|
inline Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>
|
||||||
::Array(const Scalar *data)
|
::Array(const Scalar *data)
|
||||||
{
|
{
|
||||||
_set_noalias(Eigen::Map<const Array>(data));
|
this->_set_noalias(Eigen::Map<const Array>(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
|
template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
|
||||||
inline Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>
|
inline Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>
|
||||||
::Matrix(const Scalar *data)
|
::Matrix(const Scalar *data)
|
||||||
{
|
{
|
||||||
_set_noalias(Eigen::Map<const Matrix>(data));
|
this->_set_noalias(Eigen::Map<const Matrix>(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // EIGEN_MAP_H
|
#endif // EIGEN_MAP_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user