Skip to content

Commit 24210ed

Browse files
Sunil JoshiOmkarPathak
authored andcommitted
Issue#88 - Fixed (#89)
1 parent 20546c9 commit 24210ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygorithm/data_structures/linked_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _search(self, node, data):
5050
return False
5151
if node.data == data:
5252
return node
53-
return self._search(node.get_next(), data)
53+
return self._search(node.next, data)
5454

5555
def get_data(self):
5656
"""

0 commit comments

Comments
 (0)