Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Mar 16, 2019

I found myself wanting this definition and it seems odd to not have it when we have axes and length. While going to define a test, I noticed that the tests already used this function with the spelling length.(axes(bc)), which further reinforced that this is a useful thing to have (plus providing an automatic test case).

@Keno Keno requested a review from mbauman March 16, 2019 00:40
@chethega
Copy link
Contributor

Is this really OK for broadcasts of offset arrays?

As far as I understood the docs, defining size asserts that there are no offsets.

@mbauman
Copy link
Member

mbauman commented Mar 16, 2019

That’s no longer the case (but was indeed one of the reasons I didn’t do this initially). #24899

@mbauman mbauman merged commit be70066 into master Mar 18, 2019
@mbauman mbauman deleted the kf/broadcastedsize branch March 18, 2019 17:54
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.

4 participants