From fec9a3e621209a77b5c4ca45e3545dbd236c3f64 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 28 May 2024 13:44:51 +0800 Subject: [PATCH] Update common.h --- include/pocketpy/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/common.h b/include/pocketpy/common.h index 1fcf2cb0..72be5ca7 100644 --- a/include/pocketpy/common.h +++ b/include/pocketpy/common.h @@ -242,7 +242,7 @@ struct PyVar final{ return reinterpret_cast(_1); } - i64 hash() const { return _1; } + i64 hash() const { return _0 + _1; } template obj_get_t obj_get();