File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -256,16 +256,15 @@ Base.@constprop :aggressive @propagate_inbounds function getindex(A::Union{Lower
256256    _shouldforwardindex (A, b) ?  A. data[b] :  diagzero (A. data, b)
257257end 
258258
259- _zero_triangular_half_str (:: Type{<:UpperOrUnitUpperTriangular} ) =  " lower" 
260- _zero_triangular_half_str (:: Type{<:LowerOrUnitLowerTriangular} ) =  " upper" 
259+ _zero_triangular_half_str (T:: Type ) =  T <:  UpperOrUnitUpperTriangular  ?  " lower" :  " upper" 
261260
262- @noinline  function  throw_nonzeroerror (T, @nospecialize (x), i, j)
261+ @noinline  function  throw_nonzeroerror (T:: DataType , @nospecialize (x), i, j)
263262    Ts =  _zero_triangular_half_str (T)
264263    Tn =  nameof (T)
265264    throw (ArgumentError (
266265        lazy "" 
267266end 
268- @noinline  function  throw_nononeerror (T, @nospecialize (x), i, j)
267+ @noinline  function  throw_nononeerror (T:: DataType , @nospecialize (x), i, j)
269268    Tn =  nameof (T)
270269    throw (ArgumentError (
271270        lazy "" 
311310    return  A
312311end 
313312
314- @noinline  function  throw_setindex_structuralzero_error (T, @nospecialize (x))
313+ @noinline  function  throw_setindex_structuralzero_error (T:: DataType , @nospecialize (x))
315314    Ts =  _zero_triangular_half_str (T)
316315    Tn =  nameof (T)
317316    throw (ArgumentError (
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments