Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Commit c3e3ce2

Browse files
committed
added logging
1 parent ef66fd4 commit c3e3ce2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

arraymap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ uint_to_hash(npy_uint64 v) {
324324
return -2;
325325
}
326326
}
327+
DEBUG_MSG_OBJ("hash input", PyLong_FromUnsignedLongLong(v));
328+
DEBUG_MSG_OBJ("hash output", PyLong_FromLongLong(hash));
327329
return hash;
328330
}
329331

test/test_unit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,7 @@ def test_fam_array_get_any_b():
925925
a1.flags.writeable = False
926926
a1_list = list(a1)
927927
import sys
928+
928929
print(a1, a1_list, file=sys.stderr)
929930
fam = FrozenAutoMap(a1)
930931
assert a1[0] in fam

0 commit comments

Comments
 (0)