Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
rand(-1) throws MemoryError with no (useful) message #1344
I'd look to see what MATLAB does here except I'm not at work. Preemptively assigning to @ViralBShah because he's been doing the RNG refactoring.