julia
f2cbe1fa - Add deprecation warning for reinterpret(::Type, ::ReinterpretArray, ::Dims)

Commit
8 years ago
Add deprecation warning for reinterpret(::Type, ::ReinterpretArray, ::Dims) It may seem strange to add a deprecation warning for a type that didn't previously exist. However, formerly `reinterpret` returned an `Array`, and you could call `reinterpret` on the result many times. Now, the first `reinterpret` call returns a `ReinterpretArray`, and consequently a second `reinterpret` will throw an error.
Author
Parents
Loading