-
| In the old Processing IDE some edge cases of  Now, py5 raises a  Should we document this somehow or print a warning? Or chance it to be more like Processing? I really don't know! | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            hx2A
          
      
      
        Aug 5, 2022 
      
    
    Replies: 1 comment
-
| This is bug. It shouldn't throw an error. I can change it to return  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        villares
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
This is bug. It shouldn't throw an error. I can change it to return
NaN. Should it print a warning also? Probably, the warning is useful because it will help debugging efforts.