mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix std::fill_n reference.
This commit is contained in:
committed by
Charles Schlosser
parent
9836e8d035
commit
ad13df7ea4
@@ -78,7 +78,7 @@ template <typename Xpr>
|
||||
struct eigen_fill_impl<Xpr, /*use_fill*/ true> {
|
||||
using Scalar = typename Xpr::Scalar;
|
||||
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Xpr& dst, const Scalar& val) {
|
||||
EIGEN_USING_STD(fill_n);
|
||||
using std::fill_n;
|
||||
fill_n(dst.data(), dst.size(), val);
|
||||
}
|
||||
template <typename SrcXpr>
|
||||
|
||||
Reference in New Issue
Block a user