Browse Source

Paul: Überarbeitung getElement

master
paul-anton.engel@informatik.hs-fulda.de 6 months ago
parent
commit
5e4418376b
  1. 2
      SparseVector.java

2
SparseVector.java

@ -69,7 +69,7 @@ public class SparseVector {
Node now = this.head;
while (now != null && now.index < index) {
if (now != null && now.index == index) {
if (now.index == index) {
return now.value;
}
now = now.next;

Loading…
Cancel
Save