From a480118b7da0610ac55f691e61d0af3acd2aeb82 Mon Sep 17 00:00:00 2001 From: Abhinav Anand Date: Mon, 25 Jan 2021 22:13:23 +0530 Subject: [PATCH] Fixed typo --- discrete_mathematics/exteded_euclidean_algorithm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discrete_mathematics/exteded_euclidean_algorithm.rb b/discrete_mathematics/exteded_euclidean_algorithm.rb index 8b7c17d..afd955e 100644 --- a/discrete_mathematics/exteded_euclidean_algorithm.rb +++ b/discrete_mathematics/exteded_euclidean_algorithm.rb @@ -14,7 +14,7 @@ def extended_euclidean_gcd(a, b) end puts "GCD(3, 5) = " + extended_euclidean_gcd(3, 5).to_s -# GCD(3, 6) = 3 +# GCD(3, 5) = 1 puts "GCD(3, 6) = " + extended_euclidean_gcd(3, 6).to_s # GCD(3, 6) = 3 puts "GCD(6, 3) = " + extended_euclidean_gcd(6, 3).to_s