From 2e266fa5ee01d7adb641544e8336e6057c981910 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Mon, 3 Jun 2024 13:03:47 +0000 Subject: [PATCH] Update dtl/Diff.hpp --- dtl/Diff.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dtl/Diff.hpp b/dtl/Diff.hpp index 57067f9..e9376d2 100644 --- a/dtl/Diff.hpp +++ b/dtl/Diff.hpp @@ -283,7 +283,7 @@ namespace dtl { editDistance += static_cast(delta) + 2 * p; long long r = path[delta+offset]; - P cordinate; + P cordinate{}; editPathCordinates epc(0); // recording edit distance only @@ -561,6 +561,8 @@ namespace dtl { trivial = false; editDistanceOnly = false; fp = NULL; + ox = 0; + oy = 0; } /**