aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-12-10 11:07:03 -0600
committerRossTheRoss <msattr@gmail.com>2019-12-10 11:07:03 -0600
commit02bb75c0f57944804fc89740fe321c418627f76a (patch)
tree8423883e1ca5ca84ffd0307011bde9cf427b082f
parentMake some changes, I guess (diff)
downloadhomework-02bb75c0f57944804fc89740fe321c418627f76a.tar
homework-02bb75c0f57944804fc89740fe321c418627f76a.tar.gz
homework-02bb75c0f57944804fc89740fe321c418627f76a.tar.bz2
homework-02bb75c0f57944804fc89740fe321c418627f76a.tar.lz
homework-02bb75c0f57944804fc89740fe321c418627f76a.tar.xz
homework-02bb75c0f57944804fc89740fe321c418627f76a.tar.zst
homework-02bb75c0f57944804fc89740fe321c418627f76a.zip
I don't even know what I fixed
Diffstat (limited to '')
-rw-r--r--csci1913/Java/project3/project3_strap012.java2
1 files changed, 1 insertions, 1 deletions
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];
}