Specify default output kernel for TensorContractionOp

This commit is contained in:
Eugene Zhulenev 2018-07-18 14:21:01 -07:00
parent 6e5a3b898f
commit 79d4129cce

View File

@ -182,7 +182,7 @@ struct NoOpOutputKernel {
Index num_cols) const {}
};
template<typename Indices, typename LhsXprType, typename RhsXprType, typename OutputKernelType>
template<typename Indices, typename LhsXprType, typename RhsXprType, typename OutputKernelType = const NoOpOutputKernel>
class TensorContractionOp : public TensorBase<TensorContractionOp<Indices, LhsXprType, RhsXprType, OutputKernelType>, ReadOnlyAccessors>
{
public: