Skip to content

Commit 5b19c9b

Browse files
authored
Update warp_util.py (#1282)
1 parent c6562f3 commit 5b19c9b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

mujoco_warp/_src/warp_util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ def cache_kernel(func):
127127
@functools.wraps(func)
128128
def wrapper(*args):
129129
def _hash_arg(a):
130-
if hasattr(a, "size"):
131-
return a.size
132130
if isinstance(a, list):
133131
return hash(tuple(a))
134132
return hash(a)

0 commit comments

Comments
 (0)