fix compiler errors

This commit is contained in:
NunoSempere 2024-06-09 12:59:47 +02:00
parent dfb9f3cc25
commit f5e7148148

3
f2.go
View File

@ -29,9 +29,10 @@ func parseLine(line string) (string, Dist, error) {
case len(words) == 2 && words[0] == "*": case len(words) == 2 && words[0] == "*":
fmt.Printf("Hello world") 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 return old_dist, nil
} }