Skip to content

Commit

Permalink
fix(ivy): Fixed tf backend's get_item.partial_mixed_handler to avoid …
Browse files Browse the repository at this point in the history
…failures in the native function.
  • Loading branch information
AnnaTz committed Oct 18, 2023
1 parent 406da1c commit 92adae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/functional/backends/tensorflow/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def current_backend_str() -> str:

def _check_query(query):
return not isinstance(query, list) and (
not (ivy.is_array(query) and ivy.is_bool_dtype(query) ^ bool(query.ndim > 0))
not (ivy.is_array(query) and ivy.is_bool_dtype(query) and bool(query.ndim > 0))
)


Expand Down

0 comments on commit 92adae0

Please sign in to comment.