xtensor-stack / xtensor-python

Python bindings for xtensor
BSD 3-Clause "New" or "Revised" License
345 stars 58 forks source link

Fixing segmentation fault scalar #290

Closed tdegeus closed 1 year ago

tdegeus commented 1 year ago

Fixes call

xt::pyarray<double> a = xt::empty<double>({});
tdegeus commented 1 year ago

@JohanMabille Could you review. Would you agree to patch release if merged?

JohanMabille commented 1 year ago

The failure is unrelated to this PR, let's merge!