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 rng argument to octorand function #15

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

hyrodium
Copy link
Collaborator

I'm not sure we really need this function, but at least it seems better to have the argument rng.
Note that there also be Quaternions.quatrand function.

@codecov
Copy link

codecov bot commented Jan 24, 2023

Codecov Report

Merging #15 (ba18e61) into main (ae650c6) will not change coverage.
The diff coverage is 100.00%.

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

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

Copy link
Collaborator

@sethaxen sethaxen left a comment

Choose a reason for hiding this comment

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

LGTM!

In my view, octorand (as well as quatrand and nquatrand) should be deprecated in favor of rand and randn, but that's a separate issue.

@hyrodium hyrodium merged commit 2bc326b into JuliaGeometry:main Jan 24, 2023
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