tweak: initial displayed comparison value

This commit is contained in:
NunoSempere 2022-05-02 18:22:56 -04:00
parent 5d07fbd383
commit 307bc4990b
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import {
} from "./utils.js"; } from "./utils.js";
/* DEFINTIONS */ /* DEFINTIONS */
const DEFAULT_COMPARE = () => 1; // 1/Math.random() - 1 // Useful for testing, cause I can make the default number change. const DEFAULT_COMPARE = () => "x to y"; // 1/Math.random() - 1 // Useful for testing, cause I can make the default number change.
const estimatedMergeSortSteps = conservativeNumMergeSortSteps; // pander to human biases so that users complain less. const estimatedMergeSortSteps = conservativeNumMergeSortSteps; // pander to human biases so that users complain less.
/* Misc. helpers */ /* Misc. helpers */

View File

@ -45,7 +45,7 @@ export function SubmitButton({
squiggleString: inputValue, squiggleString: inputValue,
}); });
} else { } else {
alert("Your input is not a number"); alert("Your input is not a number or a valid distribution");
} }
} }
} }