File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
mlir/lib/Dialect/SparseTensor/Transforms Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ struct AffineDimCollector : public AffineExprVisitor<AffineDimCollector> {
67
67
// Flattens an affine expression into a list of AffineDimExprs.
68
68
struct AffineExprAdmissibleVisitor
69
69
: public AffineExprVisitor<AffineExprAdmissibleVisitor> {
70
- explicit AffineExprAdmissibleVisitor (bool isOutput)
71
- : admissible(true ), isOutput(isOutput){};
70
+ explicit AffineExprAdmissibleVisitor (bool isOutput) : isOutput(isOutput){};
72
71
73
72
// We only allow AffineDimExpr on output.
74
73
void visitAddExpr (AffineBinaryOpExpr expr) {
@@ -87,7 +86,7 @@ struct AffineExprAdmissibleVisitor
87
86
operator bool () { return admissible; }
88
87
89
88
private:
90
- bool admissible;
89
+ bool admissible = true ;
91
90
bool isOutput;
92
91
};
93
92
You can’t perform that action at this time.
0 commit comments