Skip to main content

When Uniform Isn't Uniform: A Bug Hunt Tale

·58 words·1 min

If you like a challenge, this is a very cute one. This bug was driving us crazy and finally hunted down after few hours of chase.

See if you can figure it out 😉.

The output of this code should be uniform distribution but instead it looks like in the next post. WHY?

https://pbs.twimg.com/media/GJQtMGfaQAALt6Q.jpg

The very strange distribution:

https://pbs.twimg.com/media/GJQrCxHb0AA3mpb.jpg

Discussion