toor1245 / MatrixDotNet

Powerful .NET library for calculating matrix
https://toor1245.github.io/MatrixDotNet/
MIT License
10 stars 3 forks source link

Fix Sum in intrinsic #77

Closed toor1245 closed 3 years ago

toor1245 commented 3 years ago

Describe the bug bug appears when we caclulates sum of matrix through instrinsics

To Reproduce Steps to reproduce the behavior:

  1. Go to MatrixDotNet/src/NetCore/Simd/SumMatrixSimd.cs
  2. Create matrix with random with negative values

Expected behavior correctly calculates with negative values Problem resolve when change vector256 to vector128