From 5527ba3437e5079a10eabb3e199fce09ac18bb0c Mon Sep 17 00:00:00 2001 From: codemasher Date: Tue, 7 Dec 2021 16:09:13 +0100 Subject: [PATCH] :shower: --- src/Common/ReedSolomonDecoder.php | 12 ++++-------- src/Data/QRDataModeInterface.php | 1 - 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/Common/ReedSolomonDecoder.php b/src/Common/ReedSolomonDecoder.php index 54e01be7d..1bed016ba 100644 --- a/src/Common/ReedSolomonDecoder.php +++ b/src/Common/ReedSolomonDecoder.php @@ -20,14 +20,10 @@ use function array_fill, count; * The algorithm will not be explained here, but the following references were helpful * in creating this implementation: * - * + * - Bruce Maggs "Decoding Reed-Solomon Codes" (see discussion of Forney's Formula) + * http://www.cs.cmu.edu/afs/cs.cmu.edu/project/pscico-guyb/realworld/www/rs_decode.ps + * - J.I. Hall. "Chapter 5. Generalized Reed-Solomon Codes" (see discussion of Euclidean algorithm) + * https://users.math.msu.edu/users/halljo/classes/codenotes/GRS.pdf * * Much credit is due to William Rucklidge since portions of this code are an indirect * port of his C++ Reed-Solomon implementation. diff --git a/src/Data/QRDataModeInterface.php b/src/Data/QRDataModeInterface.php index a4729ce30..fac2cf16f 100644 --- a/src/Data/QRDataModeInterface.php +++ b/src/Data/QRDataModeInterface.php @@ -14,7 +14,6 @@ use chillerlan\QRCode\Common\BitBuffer; /** * Specifies the methods reqired for the data modules (Number, Alphanum, Byte and Kanji) - * and holds version information in several constants */ interface QRDataModeInterface{