Skip to content

Fix bug in c2py converters for non-contiguous numpy views -> array#125

Merged
Wentzell merged 1 commit intoTRIQS:unstablefrom
Thoemi09:DEV_C2PY_CONVERTERS
Mar 30, 2026
Merged

Fix bug in c2py converters for non-contiguous numpy views -> array#125
Wentzell merged 1 commit intoTRIQS:unstablefrom
Thoemi09:DEV_C2PY_CONVERTERS

Conversation

@Thoemi09
Copy link
Copy Markdown
Contributor

  • the converter dispatched the py2c call to a view converter with contiguous layout
  • add a test that exposes the problem

- the converter dispatched the py2c call to a view converter with contiguous layout
- add a test that exposes the problem
Copy link
Copy Markdown
Member

@Wentzell Wentzell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you for catching this @Thoemi09

@Wentzell Wentzell merged commit 6d96610 into TRIQS:unstable Mar 30, 2026
19 checks passed
@Thoemi09 Thoemi09 deleted the DEV_C2PY_CONVERTERS branch March 30, 2026 21:37
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