From b12c1c354638e8cac7644651d6749377136a2f74 Mon Sep 17 00:00:00 2001 From: emile Date: Wed, 10 Oct 2018 21:55:47 +0200 Subject: removed some debug code --- forces/forces.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'forces') diff --git a/forces/forces.go b/forces/forces.go index e204e39..d39d7fd 100644 --- a/forces/forces.go +++ b/forces/forces.go @@ -108,9 +108,6 @@ func CalcAllForces(starSlice []structs.Star, threads int) []structs.Star { go forcesThread(starSlice, localRangeStart, localRangeEnd, channel) } - fmt.Printf("\nsliceLength = %d\n", sliceLength) - fmt.Printf("localRangeLen = %d\n", localRangeLen) - // Handle errors (10004 stars, but 1250 stars per thread, so 4 stars are not calculate and block the queue) if sliceLength > localRangeLen { @@ -123,7 +120,6 @@ func CalcAllForces(starSlice []structs.Star, threads int) []structs.Star { } // Initialize a new progress bar - fmt.Printf("len(starSlice) = %d", len(starSlice)) bar := pb.New(len(starSlice)).Prefix("Stars: ") bar.Start() -- cgit 1.4.1