From 79cff7cfd10f41be8aa445ea6ddb4cd4fc24f1ea Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 7 Mar 2019 16:22:51 +0100 Subject: updated the calcAllForces comment to golint standard --- backend/calc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/calc.go b/backend/calc.go index 837796a..a136301 100644 --- a/backend/calc.go +++ b/backend/calc.go @@ -28,7 +28,7 @@ func CalcAllForces(database *sql.DB, star structs.Star2D, galaxyIndex int64, the return force } -// calcAllForces nodes calculates the forces in between a sta log.Printf("Calculating the forces acting on the star %v", star)r and a node and returns the overall force +// CalcAllForces nodes calculates the forces in between a sta log.Printf("Calculating the forces acting on the star %v", star)r and a node and returns the overall force // TODO: implement the calcForce(star, centerOfMass) {...} function // TODO: implement the getSubtreeIDs(nodeID) []int64 {...} function func CalcAllForcesNode(star structs.Star2D, nodeID int64, theta float64) structs.Vec2 { -- cgit 1.4.1