You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/06/04 17:56:29 UTC

[GitHub] [incubator-tvm] abergeron commented on pull request #5723: Fix the random seed for test_fmod since it fails way too often otherwise

abergeron commented on pull request #5723:
URL: https://github.com/apache/incubator-tvm/pull/5723#issuecomment-639011278


   From what I can seen the problem comes when result of the fmod() is very small.
   
   It would happen for something like `20.0001 % 10`.
   
   I'm not sure how to condition the random generation to avoid this problem, since we don't want the first number to be close to a multiple of the second number.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org