fix initial array index value

This commit is contained in:
yggverse 2024-09-04 23:08:44 +03:00
parent c52a9a3f78
commit 38b2ac4f04
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ void History::add(
if (FOLLOW)
{
index = memory.size(); // @TODO not last index, use iterator
index = memory.size() - 1;
}
}