Fix the usage of lis
authorLukas Jiriste <ljiriste@student.42prague.com>
Sat, 2 Mar 2024 11:59:54 +0000 (12:59 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sat, 2 Mar 2024 11:59:54 +0000 (12:59 +0100)
commit8f76bcb706118ed31654204f863c9398f6f18b8a
tree412a38999f2b37cb902d0275a654225da0a2562e
parentf2ec98099f159063045b42c5d3abf506227e9134
Fix the usage of lis

The lis was created in such a way, that the top may not have been
the first number of the stack that is part of the found lis.
This has been fixed by synchronously rotating lis and stack to the
initial rotation of stack.
src/circular_lis.c