Yoshiki Matsuda

Results 6 comments of Yoshiki Matsuda

Assigning to a view with broadcasting also does not work on GCC with C++20. https://godbolt.org/z/3nPj8dr4v ```c++ xt::xarray a = {{{0., 1., 2.}, {3., 4., 5.}}, {{6., 7., 8.}, {9., 10.,...

Same here in my hosted BinderHub. I found a workaround by adding the following to `environment.yml`. ```yml dependencies: - traitlets= 5.10 but [conda](https://anaconda.org/conda-forge/notebook) provides notebook v6.3.0.

I am not sure why the test for pypy3.10 failed, but all the tests passed on my fork. https://github.com/yosh-matsuda/nanobind/actions/runs/8123702629

Sorry, I had assumed that stubgen was annotating ndarray for Numpy. However, I think `ArrayLike` is inappropriate because it would include not only `ndarray`, but also types for which `numpy.ndarray`...

@wjakob Since numpy is the only user module in nanobind that can be imported, what about the following idea about post-processing in stubgen? When `ndarray` framework is specified: * `Annotated[,...

@wjakob Could you review the last commit (force pushed) in this PR? The changes are as follows: * Add array protocol class `NDArray` for nd-array in stub file based on...