SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.34k stars 188 forks source link

0.3.0 from NuGet throwing NotSupportedException on negate function call #443

Open gandalfh opened 3 years ago

gandalfh commented 3 years ago

This code behaves as expected on version 0.20.5 from NuGet (https://www.nuget.org/packages/NumSharp/)

var ones = np.ones((10, 1)); ones.negate();

But after upgrading to 0.3.0 a NotSupportedException is thrown:

at NumSharp.Backends.DefaultEngine.Negate(NDArray& nd) at NumSharp.NDArray.negate()

Nucs commented 3 years ago

Related to #447