Mojo-Numerics-and-Algorithms-group / NuMojo

NuMojo is a library for numerical computing in Mojo 🔥 similar to numpy in Python.
Apache License 2.0
112 stars 15 forks source link

[fix] Fix mistakes in `matmul` due to initialization of the zero matrix #129

Closed forFudan closed 4 weeks ago

forFudan commented 4 weeks ago

The matmul returns wrong results for small matrices. The reason is that the initialization on the C is not filled with 0 but uninitilized.

This PR is a quick fix on this.