diff options
author | Jonas Adler <jonasadl@kth.se> | 2015-07-22 12:29:18 +0200 |
---|---|---|
committer | Jonas Adler <jonasadl@kth.se> | 2015-07-22 12:29:18 +0200 |
commit | 815fa0dbf63f112f98fe3ac38483e0248caf9eec (patch) | |
tree | 45cff143ff8ffc55edde6caff72d667af6251b8f /Eigen/src/Core/Replicate.h | |
parent | d259b719d1703e9271612d944e432edd72be1051 (diff) |
Fixed some compiler bugs in NVCC, now compiles with CUDA.
(chtz: Manually joined sevaral commits to keep the history clean)
Diffstat (limited to 'Eigen/src/Core/Replicate.h')
-rw-r--r-- | Eigen/src/Core/Replicate.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/Eigen/src/Core/Replicate.h b/Eigen/src/Core/Replicate.h index 518c52e57..bec598310 100644 --- a/Eigen/src/Core/Replicate.h +++ b/Eigen/src/Core/Replicate.h @@ -114,28 +114,13 @@ template<typename MatrixType,int RowFactor,int ColFactor> class Replicate */ template<typename Derived> template<int RowFactor, int ColFactor> -inline const Replicate<Derived,RowFactor,ColFactor> +const Replicate<Derived,RowFactor,ColFactor> DenseBase<Derived>::replicate() const { return Replicate<Derived,RowFactor,ColFactor>(derived()); } /** - * \return an expression of the replication of \c *this - * - * Example: \include MatrixBase_replicate_int_int.cpp - * Output: \verbinclude MatrixBase_replicate_int_int.out - * - * \sa VectorwiseOp::replicate(), DenseBase::replicate<int,int>(), class Replicate - */ -template<typename Derived> -inline const Replicate<Derived,Dynamic,Dynamic> -DenseBase<Derived>::replicate(Index rowFactor,Index colFactor) const -{ - return Replicate<Derived,Dynamic,Dynamic>(derived(),rowFactor,colFactor); -} - -/** * \return an expression of the replication of each column (or row) of \c *this * * Example: \include DirectionWise_replicate_int.cpp |