From f5e7148148bf3f4bec67bd856060ce7b07d28439 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 9 Jun 2024 12:59:47 +0200 Subject: [PATCH] fix compiler errors --- f2.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/f2.go b/f2.go index a1e7b54..a50928f 100644 --- a/f2.go +++ b/f2.go @@ -29,9 +29,10 @@ func parseLine(line string) (string, Dist, error) { case len(words) == 2 && words[0] == "*": fmt.Printf("Hello world") } + return "Lognormal", Dist{}, nil } -func joinDists(old_dist Dist, new_dist Dist, op string) (Dist, err) { +func joinDists(old_dist Dist, new_dist Dist, op string) (Dist, error) { return old_dist, nil }