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> {
6767//  Flattens an affine expression into a list of AffineDimExprs.
6868struct  AffineExprAdmissibleVisitor 
6969    : public AffineExprVisitor<AffineExprAdmissibleVisitor> {
70-   explicit  AffineExprAdmissibleVisitor (bool  isOutput)
71-       : admissible(true ), isOutput(isOutput){};
70+   explicit  AffineExprAdmissibleVisitor (bool  isOutput) : isOutput(isOutput){};
7271
7372  //  We only allow AffineDimExpr on output.
7473  void  visitAddExpr (AffineBinaryOpExpr expr) {
@@ -87,7 +86,7 @@ struct AffineExprAdmissibleVisitor
8786  operator  bool () { return  admissible; }
8887
8988private: 
90-   bool  admissible;
89+   bool  admissible =  true ;
9190  bool  isOutput;
9291};
9392
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments