Typo fix, thanks Ken
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 2 May 2010 16:41:55 +0000 (16:41 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 2 May 2010 16:41:55 +0000 (16:41 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1328 59b500cc-1b3d-0410-9834-0bbf25fbcc57

core/src/com/google/zxing/qrcode/encoder/MatrixUtil.java

index 542159e..76bdb18 100644 (file)
@@ -290,7 +290,7 @@ public final class MatrixUtil {
   // Example: Calculation of version information of 7.
   // f(x) is created from 7.
   //   - 7 = 000111 in 6 bits
-  //   - f(x) = x^2 + x^2 + x^1
+  //   - f(x) = x^2 + x^1 + x^0
   // g(x) is given by the standard (p. 67)
   //   - g(x) = x^12 + x^11 + x^10 + x^9 + x^8 + x^5 + x^2 + 1
   // Multiply f(x) by x^(18 - 6)