Commits

urso committed 50456b3

add bugfix in arbRange

Comments (0)

Files changed (1)

     var min = Math.min(a, b);
     var max = Math.max(a, b);
     return function (size) {
-        return Math.floor(Math.random() * (max - min)) - min;
+        return Math.floor(Math.random() * (max - min)) + min;
     };
 }