From 02bb75c0f57944804fc89740fe321c418627f76a Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Tue, 10 Dec 2019 11:07:03 -0600 Subject: I don't even know what I fixed --- csci1913/Java/project3/project3_strap012.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csci1913') diff --git a/csci1913/Java/project3/project3_strap012.java b/csci1913/Java/project3/project3_strap012.java index 8adef5a..8db9b4a 100644 --- a/csci1913/Java/project3/project3_strap012.java +++ b/csci1913/Java/project3/project3_strap012.java @@ -92,7 +92,7 @@ class AnagramTree { } private int compareSummaries(byte[] left, byte[] right) { - for (int i = 0; i < 26; i++) { + for (int i = 0; i <= 25; i++) { if (left[i] != right[i]) { return left[i] - right[i]; } -- cgit v1.2.3