Skip to content

Support single string dims in XTensorType#2129

Merged
ricardoV94 merged 1 commit into
pymc-devs:mainfrom
williambdean:support-string-dims-as-xtensor
May 13, 2026
Merged

Support single string dims in XTensorType#2129
ricardoV94 merged 1 commit into
pymc-devs:mainfrom
williambdean:support-string-dims-as-xtensor

Conversation

@williambdean
Copy link
Copy Markdown
Contributor

@williambdean williambdean commented May 13, 2026

Summary

  • XTensorType.__init__ now normalizes a bare string dims to a single-element tuple, preventing unintended character iteration

Closes #1793

Comment thread tests/xtensor/test_type.py Outdated
@williambdean williambdean force-pushed the support-string-dims-as-xtensor branch from cd1c931 to 231d1b8 Compare May 13, 2026 17:43
@williambdean
Copy link
Copy Markdown
Contributor Author

williambdean commented May 13, 2026

Jobs seem to be failing due to GitHub ... will have to retrigger .

EDIT: Passing.

@ricardoV94 ricardoV94 merged commit ab37a98 into pymc-devs:main May 13, 2026
115 of 120 checks passed
@williambdean williambdean deleted the support-string-dims-as-xtensor branch May 13, 2026 20:13
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.

support string dims in as_xtensor

2 participants