[yt-dev] Issue #769: In-place operators of arrays/floats and YTArrays/YTQuantities don't result in unitified structures (yt_analysis/yt)

John ZuHone issues-reply at bitbucket.org
Fri Jan 31 15:12:13 PST 2014


New issue 769: In-place operators of arrays/floats and YTArrays/YTQuantities don't result in unitified structures
https://bitbucket.org/yt_analysis/yt/issue/769/in-place-operators-of-arrays-floats-and

John ZuHone:

For example, this:

```
#!python

x = np.arange(10)
y = YTQuantity(1.0, "cm")

x *= y
```

Doesn't return a `YTArray`. Should it?


Responsible: MatthewTurk



More information about the yt-dev mailing list