From acf16230f140c701f66f6d5ab5033ec7ca0287a4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Nov 2025 02:22:13 +0000 Subject: [PATCH 1/2] Initial plan From c8027f75e4fdfe4ed9fd80d1c76df2466bf232b8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Nov 2025 02:24:58 +0000 Subject: [PATCH 2/2] Add __eq__ method to FrozenDict class Co-authored-by: findmyway <5612003+findmyway@users.noreply.github.com> --- src/julax/base.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/julax/base.py b/src/julax/base.py index 792f132..4192573 100644 --- a/src/julax/base.py +++ b/src/julax/base.py @@ -31,3 +31,8 @@ def items(self): def __hash__(self): return hash(frozenset(self.root.items())) + + def __eq__(self, other): + if isinstance(other, FrozenDict): + return self.root == other.root + return self.root == other