Skip to content

Commit

Permalink
fix: Fixed passing of arguments in get_referrers_recursive() functi…
Browse files Browse the repository at this point in the history
…on call (ivy-llc#27428)

Co-authored-by: NripeshN <nripesh14@gmail.com>
  • Loading branch information
Sai-Suraj-27 and NripeshN authored Dec 3, 2023
1 parent 2e1dab4 commit 298c136
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ivy/functional/ivy/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ def get_referrers_recursive(

def get_referrers_recursive_inner():
return get_referrers_recursive(
ref, depth + 1, max_depth, seen_set, local_set
ref,
depth=depth + 1,
max_depth=max_depth,
seen_set=seen_set,
local_set=local_set,
)

this_repr = "tracked" if seen else str(ref).replace(" ", "")
Expand Down

0 comments on commit 298c136

Please sign in to comment.