File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ function getaccs end
139139Return a boolean for whether `vi` has an accumulator with name `accname`. 
140140""" 
141141hasacc (vi:: AbstractVarInfo , accname:: Val ) =  haskey (getaccs (vi), accname)
142- function  hassacc (vi:: AbstractVarInfo , accname:: Symbol )
142+ function  hasacc (vi:: AbstractVarInfo , accname:: Symbol )
143143    return  error (
144144        """ 
145145        The method hasacc(vi::AbstractVarInfo, accname::Symbol) does not exist. For type 
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ An abstract type for accumulators.
55
66An accumulator is an object that may change its value at every tilde_assume!! or 
77tilde_observe!! call based on the random variable in question. The obvious examples of 
8- accumulators are the log prior and log likelihood. Others  examples might be a variable that 
8+ accumulators are the log prior and log likelihood. Other  examples might be a variable that 
99counts the number of observations in a trace, or a list of the names of random variables 
1010seen so far. 
1111
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments