Skip to content

Commit

Permalink
4to5
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Nov 25, 2024
1 parent b6c845d commit e7bddaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/distributed/mesh_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static std::unordered_map<LogicalCoordinate, PhysicalCoordinate> load_translatio

std::unordered_map<LogicalCoordinate, PhysicalCoordinate> result;
for (const auto& mapping : j[key]) {
if (mapping.size() != 2 || mapping[0].size() != 2 || mapping[1].size() != 4) {
if (mapping.size() != 2 || mapping[0].size() != 2 || mapping[1].size() != 5) {
throw std::runtime_error("Invalid coordinate format in JSON file: " + filename);
}
result.emplace(LogicalCoordinate{mapping[0][0], mapping[0][1]}, PhysicalCoordinate{
Expand Down

0 comments on commit e7bddaa

Please sign in to comment.