fermi

A minimalist calculator for estimating with distributions
Log | Files | Refs | README

commit 72be1167bd80abf876ec5aad5f63d1ee6afed048
parent 1f6b61cee0c96cba4ce3b0aba81f7d99270488db
Author: NunoSempere <nuno.semperelh@protonmail.com>
Date:   Fri, 10 May 2024 20:53:30 +0100

tweak error msgs

Diffstat:
Mf.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/f.go b/f.go @@ -49,7 +49,7 @@ func main() { tokens := strings.Split(input, " ") if len(tokens) != 2 { - fmt.Println("Please enter exactly two floats.") + fmt.Println("Please enter two floats separated by a space") return } old_low, err1 := strconv.ParseFloat(tokens[0], 64) @@ -104,6 +104,7 @@ func main() { new_low = 1.0 / new_high new_high = 1.0 / tmp_low default: + continue } }