From 1dee5072ffd0b1ccc8fa7eeec3faa092f179ba02 Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Thu, 2 Feb 2023 07:57:37 -0800 Subject: [PATCH] typo --- 2022/16.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2022/16.cpp b/2022/16.cpp index c5f8696..06f4ef5 100644 --- a/2022/16.cpp +++ b/2022/16.cpp @@ -63,7 +63,7 @@ auto ShortestDistances(distance_array & dist) -> void for (auto const j : range) { auto const d_ikj = dist[i][k] + dist[k][j]; auto & d_ij = dist[i][j]; - if (d_ij > d_ikj) d_ij = d_ijk; + if (d_ij > d_ikj) d_ij = d_ikj; } } }