Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add random prime seeding #409

Merged
merged 6 commits into from Aug 30, 2022
Merged

Add random prime seeding #409

merged 6 commits into from Aug 30, 2022

Conversation

mhostetter
Copy link
Owner

In [1]: import galois

In [2]: galois.random_prime(10, seed=1)
Out[2]: 1153

In [3]: galois.random_prime(10, seed=1)
Out[3]: 1153

@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Base: 95.54% // Head: 95.52% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (a4954b9) compared to base (0341cda).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   95.54%   95.52%   -0.02%     
==========================================
  Files          42       42              
  Lines        5455     5436      -19     
==========================================
- Hits         5212     5193      -19     
  Misses        243      243              
Impacted Files Coverage Δ
src/galois/_codes/_bch.py 98.12% <100.00%> (-0.01%) ⬇️
src/galois/_codes/_cyclic.py 100.00% <100.00%> (ø)
src/galois/_codes/_linear.py 92.59% <100.00%> (-0.27%) ⬇️
src/galois/_codes/_reed_solomon.py 98.26% <100.00%> (-0.01%) ⬇️
src/galois/_domains/_array.py 96.68% <100.00%> (-0.03%) ⬇️
src/galois/_fields/_array.py 98.89% <100.00%> (-0.01%) ⬇️
src/galois/_fields/_factory.py 96.49% <100.00%> (-0.04%) ⬇️
src/galois/_fields/_gf2.py 100.00% <100.00%> (ø)
src/galois/_fields/_primitive_element.py 92.00% <100.00%> (-0.11%) ⬇️
src/galois/_helper.py 100.00% <100.00%> (ø)
... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mhostetter mhostetter merged commit c58dbab into master Aug 30, 2022
@mhostetter mhostetter deleted the random-prime-seed branch August 30, 2022 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant