From b6d08f247d86b4ae0e4d934896a9f409c50e4432 Mon Sep 17 00:00:00 2001 From: chenyu Date: Wed, 31 Dec 2025 13:37:57 -0500 Subject: [PATCH] assert z3_xor input type (#13933) --- tinygrad/uop/validate.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tinygrad/uop/validate.py b/tinygrad/uop/validate.py index 42a50d51e3..c73647cbf6 100644 --- a/tinygrad/uop/validate.py +++ b/tinygrad/uop/validate.py @@ -11,9 +11,8 @@ try: # IDIV is truncated division but z3 does euclidian division (floor if b>0 ceil otherwise); mod by power of two sometimes uses Ops.AND def z3_cdiv(a, b):return z3.If((a<0), z3.If(0