about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--backend/update.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/update.go b/backend/update.go
index d51b115..9e78b84 100644
--- a/backend/update.go
+++ b/backend/update.go
@@ -7,7 +7,7 @@ import (
 	"log"
 )
 
-// updateTotalMass gets a tree index and returns the nodeID of the trees root node
+// UpdateTotalMass gets a tree index and returns the nodeID of the trees root node
 func UpdateTotalMass(database *sql.DB, index int64) {
 	db = database
 	rootNodeID := getRootNodeID(index)
@@ -62,7 +62,7 @@ func updateTotalMassNode(nodeID int64) float64 {
 	return totalmass
 }
 
-// updateCenterOfMass recursively updates the center of mass of all the nodes starting at the node with the given
+// UpdateCenterOfMass recursively updates the center of mass of all the nodes starting at the node with the given
 // root index
 func UpdateCenterOfMass(database *sql.DB, index int64) {
 	db = database