We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf39c0 commit 86a5b63Copy full SHA for 86a5b63
3 files changed
.github/workflows/pdf417.yml
@@ -40,7 +40,7 @@ jobs:
40
41
- name: Retrieve Cached Dependencies
42
id: mix-cache
43
- uses: actions/cache@v2
+ uses: actions/cache@v4
44
with:
45
path: |
46
./deps
lib/pdf417/error_correction.ex
@@ -13,7 +13,7 @@ defmodule PDF417.ErrorCorrection do
13
t1 = rem(codeword + List.last(int_error_cw), 929)
14
15
int_error_cw =
16
- (length(int_error_cw) - 1)..1
+ Range.new(length(int_error_cw) - 1, 1, -1)
17
|> Enum.reduce(int_error_cw, fn j, acc ->
18
t2 = rem(t1 * Enum.at(coefficients, j), 929)
19
t3 = 929 - t2
mix.exs
@@ -1,7 +1,7 @@
1
defmodule PDF417.MixProject do
2
use Mix.Project
3
4
- @version "0.1.0"
+ @version "0.1.1"
5
@source_url "https://github.com/jackpocket/pdf417-elixir"
6
7
def project do
0 commit comments