From 52ad311fb481357dad9bfd1386630be10122b215 Mon Sep 17 00:00:00 2001 From: emile Date: Mon, 8 Oct 2018 15:54:56 +0200 Subject: Using the CalcAllForces function to calculate all the forces in the starsSlice. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b71f38d..b6c0aeb 100644 --- a/main.go +++ b/main.go @@ -18,5 +18,5 @@ func main() { fmt.Println(starsSlice) // Calculate the forces acting inbetween all the stars in the starsSlice slice and star nr 0 in the starsSlice slice - fmt.Println(forces.Forces(starsSlice, 0)) + fmt.Println(forces.CalcAllForces(starsSlice)) } -- cgit 1.4.1