diff options
author | Emile <hanemile@protonmail.com> | 2019-03-07 16:22:51 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-03-07 16:22:51 +0100 |
commit | 79cff7cfd10f41be8aa445ea6ddb4cd4fc24f1ea (patch) | |
tree | 8f26f21f727f7222e760ecb91a1ceb99d4c43d83 /backend | |
parent | e354d779b815e16139f9ac2dcf870d63fe72fe1f (diff) |
updated the calcAllForces comment to golint standard
Diffstat (limited to 'backend')
-rw-r--r-- | backend/calc.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |