diff --git a/src/main/java/mattrixwv/Algorithms.java b/src/main/java/mattrixwv/Algorithms.java index 146de5e..4c410a5 100644 --- a/src/main/java/mattrixwv/Algorithms.java +++ b/src/main/java/mattrixwv/Algorithms.java @@ -512,7 +512,7 @@ public class Algorithms{ //Return the list return divisors; } - //This function returns all the divisors of goalSubscript + //This function returns the goalSubscript'th Fibonacci number public static int getFib(int goalSubscript){ //Setup the variables int[] fibNums = {1, 1, 0}; //A list to keep track of the Fibonacci numbers. It need only be 3 long because we only need the one we are working on and the last 2