mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix TensorRef details
This commit is contained in:
@@ -27,6 +27,10 @@ struct traits<TensorBroadcastingOp<Broadcast, XprType>> : public traits<XprType>
|
||||
static constexpr int NumDimensions = XprTraits::NumDimensions;
|
||||
static constexpr int Layout = XprTraits::Layout;
|
||||
typedef typename XprTraits::PointerType PointerType;
|
||||
enum {
|
||||
// Broadcast is read-only.
|
||||
Flags = traits<XprType>::Flags & ~LvalueBit
|
||||
};
|
||||
};
|
||||
|
||||
template <typename Broadcast, typename XprType>
|
||||
|
||||
Reference in New Issue
Block a user