mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 20:56:00 +08:00
Fix MSVC compilation
This commit is contained in:
parent
7fbc9d8409
commit
ff29221951
@ -464,8 +464,8 @@ template<typename Derived> class DenseBase
|
|||||||
template<int RowFactor, int ColFactor>
|
template<int RowFactor, int ColFactor>
|
||||||
inline const Replicate<Derived,RowFactor,ColFactor> replicate() const;
|
inline const Replicate<Derived,RowFactor,ColFactor> replicate() const;
|
||||||
|
|
||||||
typedef const Replicate<Derived,Dynamic,Dynamic> ReplicateReturnType;
|
typedef Replicate<Derived,Dynamic,Dynamic> ReplicateReturnType;
|
||||||
inline ReplicateReturnType replicate(Index rowFacor,Index colFactor) const;
|
inline const ReplicateReturnType replicate(Index rowFacor,Index colFactor) const;
|
||||||
|
|
||||||
typedef Reverse<Derived, BothDirections> ReverseReturnType;
|
typedef Reverse<Derived, BothDirections> ReverseReturnType;
|
||||||
typedef const Reverse<const Derived, BothDirections> ConstReverseReturnType;
|
typedef const Reverse<const Derived, BothDirections> ConstReverseReturnType;
|
||||||
|
@ -150,7 +150,7 @@ DenseBase<Derived>::replicate() const
|
|||||||
* \sa VectorwiseOp::replicate(), DenseBase::replicate<int,int>(), class Replicate
|
* \sa VectorwiseOp::replicate(), DenseBase::replicate<int,int>(), class Replicate
|
||||||
*/
|
*/
|
||||||
template<typename Derived>
|
template<typename Derived>
|
||||||
typename DenseBase<Derived>::ReplicateReturnType
|
const typename DenseBase<Derived>::ReplicateReturnType
|
||||||
DenseBase<Derived>::replicate(Index rowFactor,Index colFactor) const
|
DenseBase<Derived>::replicate(Index rowFactor,Index colFactor) const
|
||||||
{
|
{
|
||||||
return Replicate<Derived,Dynamic,Dynamic>(derived(),rowFactor,colFactor);
|
return Replicate<Derived,Dynamic,Dynamic>(derived(),rowFactor,colFactor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user