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

Remove istable for a value of type AbstractMatrix #198

Merged
merged 1 commit into from
Aug 16, 2022
Merged

Conversation

bkamins
Copy link
Member

@bkamins bkamins commented Sep 16, 2020

I think - as in other places - we should only define a method for a type, and use a default fallback for the value.

@quinnj Was there some specific reason why in this case a method for a value was introduced?

I think - as in other places - we should only define a method for a type, and use a default fallback for the value.

@quinnj Was there some specific reason why in this case a method for a value was introduced?
@quinnj
Copy link
Member

quinnj commented Sep 16, 2020

I don't remember really

@quinnj
Copy link
Member

quinnj commented Sep 16, 2020

Looks like there's a test that needs to be updated

@bkamins
Copy link
Member Author

bkamins commented Sep 16, 2020

Yes - I will fix it, but first I wanted to check the direction 😄.

@bkamins
Copy link
Member Author

bkamins commented Sep 16, 2020

We should fix a bug in TrableTraits.jl and not change anything here. But let us wait till queryverse/TableTraits.jl#21 is resolved.

@devmotion
Copy link

I just came across this PR since I noticed that my implementation of istable(::Type{<:MyArray}) was not picked up for arrays of dimension 2 when running istable(::MyArray). Could this PR be merged and released?

@bkamins
Copy link
Member Author

bkamins commented Aug 11, 2022

After @quinnj agrees to the proposal I will update the tests.

@bkamins bkamins closed this Aug 11, 2022
@bkamins bkamins reopened this Aug 11, 2022
@bkamins
Copy link
Member Author

bkamins commented Aug 11, 2022

@quinnj - after TableTraits.jl fix the tests pass

@quinnj quinnj merged commit 6bafed9 into master Aug 16, 2022
@quinnj quinnj deleted the bkamins-patch-1 branch August 16, 2022 12:54
@quinnj
Copy link
Member

quinnj commented Aug 16, 2022

Thanks!

@devmotion
Copy link

I just noticed that the PR was made against and merged into master instead of main. That seems incorrect?

@quinnj
Copy link
Member

quinnj commented Aug 16, 2022

Ah, great catch! I'll merge it over to main

quinnj pushed a commit that referenced this pull request Aug 16, 2022
I think - as in other places - we should only define a method for a type, and use a default fallback for the value.

@quinnj Was there some specific reason why in this case a method for a value was introduced?
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.

3 participants