Tested matrix manipulation

This commit is contained in:
2022-09-04 10:27:16 +01:00
parent 36154b25ac
commit 6787cfff55
4 changed files with 115 additions and 7 deletions

View File

@@ -362,7 +362,7 @@ int hashLiteral(Literal lit) {
case LITERAL_ARRAY: {
unsigned int res = 0;
for (int i = 0; i < AS_DICTIONARY(lit)->count; i++) {
for (int i = 0; i < AS_ARRAY(lit)->count; i++) {
res += hashLiteral(AS_ARRAY(lit)->literals[i]);
}
return hash(res);