bowman-lab / enspara

Modeling molecular ensembles with scalable data structures and parallel computing
https://enspara.readthedocs.io
GNU General Public License v3.0
33 stars 16 forks source link

RaggedArray [:] assignment fails #171

Open justinrporter opened 5 years ago

justinrporter commented 5 years ago

The following occurs:

a = ra.RaggedArray([[1, 1, 1],
                    [0, 1]], copy=True)
a[:] = -1

gives

RaggedArray([[-1, -1]])

Which differs from the numpy behavior. @mizimmer90