xtensor-stack / xtensor-python

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

copy semantic fixed #76

Closed JohanMabille closed 7 years ago

JohanMabille commented 7 years ago

Fixes a C++ semantic error in Python bindings found while developping Julia bindings!

SylvainCorlay commented 7 years ago

I am seeing the following warning:

warning: base class ‘class xt::xcontainer_semantic<xt::pyarray<int> >’ should be explicitly initialized in the copy constructor [-Wextra]

same for pytensor.