Skip to content

Commit

Permalink
fix: Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hmahmood24 committed Jul 7, 2024
1 parent cd8d1f1 commit 12bd586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/functional/backends/torch/experimental/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def put_along_axis(
}
mode = mode_mappings.get(mode, mode)
indices = indices.to(torch.int64)
if not isinstance(values, torch.tensor):
if not isinstance(values, torch.Tensor):
values = torch.tensor(values)
if mode == "replace":
return torch.scatter(arr, axis, indices, values, out=out)
Expand Down

0 comments on commit 12bd586

Please sign in to comment.