From 4decff413343b48faec987fc20bca977148ecfc4 Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Fri, 11 Sep 2020 11:38:06 -0400 Subject: [PATCH] Fixed a comment --- src/main/java/mattrixwv/Algorithms.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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