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

Improvements to random octonion generation #19

Merged
merged 5 commits into from
Jan 25, 2023
Merged

Improvements to random octonion generation #19

merged 5 commits into from
Jan 25, 2023

Conversation

sethaxen
Copy link
Collaborator

The docstring of Base.@irrational warns that it should not be used outside of Base. Since we don't need it anyways, this PR stops using it.

It also deprecates octorand([rng]) in favor of randn([rng,] OctonionF64)

@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Merging #19 (da7cc19) into main (694e3ca) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          101       101           
=========================================
  Hits           101       101           
Impacted Files Coverage Δ
src/Octonions.jl 100.00% <ø> (ø)
src/octonion.jl 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sethaxen sethaxen requested a review from hyrodium January 25, 2023 08:11
@hyrodium
Copy link
Collaborator

The docstring of Base.@irrational warns that it should not be used outside of Base.

Oh, I did not know that! Thanks!
x-ref: JuliaLang/julia#47103, JuliaLang/julia#46531

Copy link
Collaborator

@hyrodium hyrodium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sethaxen sethaxen merged commit d4fdee0 into main Jan 25, 2023
@sethaxen sethaxen deleted the noirrational branch January 25, 2023 19:17
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.

2 participants