Skip to content

Commit

Permalink
Make overloaded use more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
omilyutin-tt committed Dec 18, 2024
1 parent 5171d6c commit 6cb5a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/tensor/tensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Tensor::Tensor(
tt::stl::overloaded{
[](const DeviceStorage& s) { return s.memory_config(); },
[](const MultiDeviceStorage& s) { return s.memory_config(); },
[](auto&&) { return MemoryConfig{}; }},
[]<typename Other>(const Other&) { return MemoryConfig{}; }},
storage);

init(
Expand Down

0 comments on commit 6cb5a39

Please sign in to comment.