Skip to content

Conversation

@HDembinski
Copy link
Member

@HDembinski HDembinski commented Nov 21, 2019

Now the broadcasts work like in numpy, passing arrays of different size is an error, but scalar and array works, the scalar is broadcast. This fixes the segfault of nsmith

@HDembinski
Copy link
Member Author

HDembinski commented Nov 21, 2019

Numpy also broadcasts foo([1], [1, 2]), while this is now an error in fill, but we could support this again with a change in the fill code in boost-histogram without touching boost.histogram.

@henryiii henryiii merged commit 417ac83 into develop Nov 21, 2019
@henryiii henryiii deleted the fix_fill_2 branch November 21, 2019 14:29
HDembinski added a commit that referenced this pull request Dec 1, 2019
* update to latest boost.histogram

* removing hot-fix

* another update

* fixed tests and added new tests for previous bug
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