tweak: initial displayed comparison value
This commit is contained in:
parent
5d07fbd383
commit
307bc4990b
|
@ -17,7 +17,7 @@ import {
|
|||
} from "./utils.js";
|
||||
|
||||
/* 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.
|
||||
|
||||
/* Misc. helpers */
|
||||
|
|
|
@ -45,7 +45,7 @@ export function SubmitButton({
|
|||
squiggleString: inputValue,
|
||||
});
|
||||
} else {
|
||||
alert("Your input is not a number");
|
||||
alert("Your input is not a number or a valid distribution");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user