Skip to content

Fixed reshape function and booleans handling#57

Merged
j6k4m8 merged 2 commits into
aplbrain:modernize-repofrom
Materys:modernize-repo
Sep 11, 2025
Merged

Fixed reshape function and booleans handling#57
j6k4m8 merged 2 commits into
aplbrain:modernize-repofrom
Materys:modernize-repo

Conversation

@sebaB003
Copy link
Copy Markdown
Contributor

Fixed the reshape function to work with fortran order and multi dimensional matrix
Boolean type handling in load and dump functions
Fixed some types failing on tsc

Reshape was implemented on top of a transposition function that was
working only for 2D matrix.

The new implementation works by computing the new index of each element
for the new reshaped array.

This implementation is more likely to work as the python numpy reshape
method
Added tests for the boolean handling
Fixed some types that were failing on `tsc`
@j6k4m8
Copy link
Copy Markdown
Member

j6k4m8 commented Sep 11, 2025

Amazing!!! This is so great!!

@j6k4m8 j6k4m8 merged commit ce1b9d1 into aplbrain:modernize-repo Sep 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants