about summary refs log tree commit diff
path: root/forces
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-08 15:49:12 +0200
committeremile <hanemile@protonmail.com>2018-10-08 15:49:12 +0200
commita61a2a1c29ddbad8f9b80c979a96e74f63961dd5 (patch)
treef2cfea26444940caa8d81a5067bbeb4671d8ca38 /forces
parent352b746cc28185c0ea0b9b6c93b961d4aa88fef8 (diff)
Exporting the Forces function
Diffstat (limited to 'forces')
-rw-r--r--forces/forces.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/forces/forces.go b/forces/forces.go
index c49692c..6869630 100644
--- a/forces/forces.go
+++ b/forces/forces.go
@@ -31,7 +31,7 @@ func forceActing(s1 structs.Star, s2 structs.Star) structs.Force {
 }
 
 // forces calculates the forces acting in between a given star and all the other stars in a given array.
-func forces(stars_arr []structs.Star, nr int) structs.Force {
+func Forces(stars_arr []structs.Star, nr int) structs.Force {
 
 	var force structs.Force