From 4b21612d55722407a9f74b27809c8d46efbbc901 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 19 Nov 2024 19:43:45 +0000 Subject: [PATCH] add todo bug found when talking with Jorge --- README.md | 1 + fermi.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af0c590..4588c33 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,7 @@ Done: To (possibly) do: +- [ ] Fix lognormal multiplication and division by 0 or < 0 - [ ] Consider adding an understanding of percentages - [ ] With the -f command line option, the program doesn't read from stdin after finishing reading the file - [ ] Add functions. Now easier to do with an explicit representation of the stakc diff --git a/fermi.go b/fermi.go index 5c87623..8a4e4fc 100644 --- a/fermi.go +++ b/fermi.go @@ -404,7 +404,7 @@ replForLoop: for { new_line, _ := reader.ReadString('\n') if *echo_flag { - fmt.Printf(new_line) + fmt.Print(new_line) } new_line_before_comments, _, _ := strings.Cut(new_line, "#") new_line_trimmed := strings.TrimSpace(new_line_before_comments)