diff --git a/web/priv/js_effects/sorting.js b/web/priv/js_effects/sorting.js index 7c395e9..7775b64 100644 --- a/web/priv/js_effects/sorting.js +++ b/web/priv/js_effects/sorting.js @@ -93,7 +93,8 @@ return class MyEffect { } selectRandomAlgorithm() { - return Math.random() < 0.01 ? 'bogoSort' : this.getRandomAlgorithm(); // set to 1 to get guaranteed bogoSort + return this.getRandomAlgorithm(); + // return Math.random() < 0.01 ? 'bogoSort' : this.getRandomAlgorithm(); // set to 1 to get guaranteed bogoSort } getRandomAlgorithm() {