Skip to content

Commit

Permalink
fix: return default_device as native to be used directly in the bac…
Browse files Browse the repository at this point in the history
…kend
  • Loading branch information
MahmoudAshraf97 committed Oct 25, 2023
1 parent 40b27d8 commit d038b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/functional/ivy/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _shift_native_arrays_on_default_device(*args, **kwargs):
),
[args, kwargs],
)
return args, kwargs, default_device
return args, kwargs, ivy.as_native_dev(default_device)


# Device Queries #
Expand Down

0 comments on commit d038b48

Please sign in to comment.