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 Strided Array Interface #38

Merged
merged 4 commits into from
Feb 25, 2020
Merged

Add Strided Array Interface #38

merged 4 commits into from
Feb 25, 2020

Conversation

oxinabox
Copy link
Member

@oxinabox oxinabox commented Jun 5, 2019

Because right now StridedArray is a Union and thus not extensible
(see JuliaLang/julia#30432)
you don't need to implement strides explictly for all new strided array types,
which we can assume (and then be proven wrong with later method errors)
that our wrapped type is.

This is needed for some BLAS stuff called by Distributions.jl

@codecov
Copy link

codecov bot commented Jun 5, 2019

Codecov Report

Merging #38 into master will increase coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
+ Coverage   89.07%   89.18%   +0.11%     
==========================================
  Files           9        9              
  Lines         293      296       +3     
==========================================
+ Hits          261      264       +3     
  Misses         32       32
Impacted Files Coverage Δ
src/wrapper_array.jl 94.44% <100%> (+0.5%) ⬆️

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 465a01c...be2fae1. Read the comment docs.

Copy link
Contributor

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

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

Seems sane to me :)

src/functions.jl Outdated Show resolved Hide resolved
test/wrapper_array.jl Outdated Show resolved Hide resolved
@oxinabox
Copy link
Member Author

I wanted this again today.
I should come back to this PR

@oxinabox oxinabox merged commit ecd00f0 into master Feb 25, 2020
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