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

Lazy2d #89

Merged
merged 4 commits into from
Jan 18, 2019
Merged

Lazy2d #89

merged 4 commits into from
Jan 18, 2019

Conversation

jw3126
Copy link
Contributor

@jw3126 jw3126 commented Dec 23, 2018

fix #14.
I noticed one gotcha (that is also present in AngleAxis).

julia> using Rotations

julia> r = Angle2d(1); @show eltype(r); @show typeof(r[1])
eltype(r) = Int64
typeof(r[1]) = Float64

@codecov-io
Copy link

codecov-io commented Dec 23, 2018

Codecov Report

Merging #89 into master will decrease coverage by 0.13%.
The diff coverage is 82.6%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
- Coverage   87.11%   86.97%   -0.14%     
==========================================
  Files           9        9              
  Lines         722      745      +23     
==========================================
+ Hits          629      648      +19     
- Misses         93       97       +4
Impacted Files Coverage Δ
src/Rotations.jl 100% <ø> (ø) ⬆️
src/core_types.jl 86.59% <82.6%> (-1.24%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 11410ec...489522e. Read the comment docs.

src/core_types.jl Outdated Show resolved Hide resolved
Copy link
Contributor

@andyferris andyferris left a comment

Choose a reason for hiding this comment

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

Looks good to me - thanks! Let's fix up those minor things and merge.

src/core_types.jl Outdated Show resolved Hide resolved
src/core_types.jl Outdated Show resolved Hide resolved
@andyferris
Copy link
Contributor

I noticed one gotcha (that is also present in AngleAxis)

Yes, all of these structs need two parameters, unfortunately (one for the storage type and one for the computed element type).

@jw3126
Copy link
Contributor Author

jw3126 commented Jan 9, 2019

Anything left to do here?

@jw3126
Copy link
Contributor Author

jw3126 commented Jan 15, 2019

@andyferris merge?

@colinxs
Copy link

colinxs commented Jan 18, 2019

I'd love if you could merge this as well. I'm currently using a fork in a project that implements similar functionality, but would like to switch back to upstream for distribution.

@tkoolen
Copy link
Contributor

tkoolen commented Jan 18, 2019

Looks good to me, so I'm going to go ahead and merge this.

@tkoolen tkoolen merged commit a5b1635 into JuliaGeometry:master Jan 18, 2019
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.

A "lazy" 2D rotation type
5 participants