Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Fix Matrix from Sliced Array #11627

Merged
merged 4 commits into from
Sep 29, 2023
Merged

Conversation

matekelemen
Copy link
Contributor

@matekelemen matekelemen commented Sep 28, 2023

Fixes #11610
Renders #11613 obsolete.

The Kratos::Matrix python interface disregarded the buffer protocol's strides property.

FYI @Rbravo555; thanks for the bug report! Please double check whether this PR fixes the issues you had.

@Rbravo555
Copy link
Member

I tested it using the example code on #11610 and now the behavior is as expected. Cheers!

philbucher
philbucher previously approved these changes Sep 28, 2023
@matekelemen matekelemen merged commit 5677952 into master Sep 29, 2023
@matekelemen matekelemen deleted the core/matrix-buffer-protocol branch September 29, 2023 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[KratosCore] Error converting sliced numpy array to Kratos.Matrix
3 participants