From 9c5e055917302a75aaa821c05f387c2f358a9616 Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Thu, 7 Feb 2019 12:46:40 -0500 Subject: [PATCH] Updated documentation for getDivisors function --- Algorithms.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Algorithms.lua b/Algorithms.lua index 87c0aae..6bb6e82 100644 --- a/Algorithms.lua +++ b/Algorithms.lua @@ -1,7 +1,7 @@ --luaClasses/Algorithms.lua --Matthew Ellison -- Created: 2-4-19 ---Modified: 2-4-19 +--Modified: 2-7-19 --This is a file of algorithms that I have found it useful to keep around at all times @@ -137,6 +137,7 @@ function getFactors(goalNumber) return factors; end +--This is a function the returns all divisors of the number passed to it function getDivisors(goalNumber) local divisors = {}; --Start by checking that the number is positive