Skip to content

Commit

Permalink
Merge pull request processing#3915 from bomoko/addresses_3282
Browse files Browse the repository at this point in the history
Adds FES to random()
  • Loading branch information
outofambit authored Jul 26, 2019
2 parents 0ba4c6e + d0e9c9f commit ad1f296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/math/random.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ p5.prototype.randomSeed = function(seed) {
* @example
*/
p5.prototype.random = function(min, max) {
p5._validateParameters('random', arguments);
let rand;

if (this[randomStateProp] != null) {
Expand Down

0 comments on commit ad1f296

Please sign in to comment.