Marked a few tensor operations as read only

This commit is contained in:
Benoit Steiner
2016-05-05 17:18:47 -07:00
parent 69a8a4e1f3
commit c54ae65c83
4 changed files with 4 additions and 4 deletions

View File

@@ -252,7 +252,7 @@ struct nested<TensorSelectOp<IfXprType, ThenXprType, ElseXprType>, 1, typename e
template<typename IfXprType, typename ThenXprType, typename ElseXprType>
class TensorSelectOp : public TensorBase<TensorSelectOp<IfXprType, ThenXprType, ElseXprType> >
class TensorSelectOp : public TensorBase<TensorSelectOp<IfXprType, ThenXprType, ElseXprType>, ReadOnlyAccessors>
{
public:
typedef typename Eigen::internal::traits<TensorSelectOp>::Scalar Scalar;