File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -244,13 +244,13 @@ void deformable_im2col(
244244}
245245
246246int  get_greatest_divisor_below_bound (int  n, int  bound) {
247-     int  limit = std::min (n/2 , bound);
248-     for  (int  k = limit; k > 1 ; --k) {
249-         if  (n % k == 0 ) {
250-           return  k;
251-         }
247+   int  limit = std::min (n / 2 , bound);
248+   for  (int  k = limit; k > 1 ; --k) {
249+     if  (n % k == 0 ) {
250+       return  k;
252251    }
253-     return  1 ;
252+   }
253+   return  1 ;
254254}
255255
256256template  <typename  scalar_t >
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ void deformable_im2col(
305305}
306306
307307int  get_greatest_divisor_below_bound (int  n, int  bound) {
308-   int  limit = std::min (n/ 2 , bound);
308+   int  limit = std::min (n /  2 , bound);
309309  for  (int  k = limit; k > 1 ; --k) {
310310    if  (n % k == 0 ) {
311311      return  k;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments