Mojo-Numerics-and-Algorithms-group / NuMojo

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

Fixed the problem in reshape and __getitem__ #32

Closed shivasankarka closed 2 months ago

shivasankarka commented 2 months ago

Rewrote reshape() using new methods and fixed the error coming from if condition in __getitem__. Reshaping should work fine now.