Skip to content

Matset converters now support the existence of the 4th matset layout type#1541

Merged
JustinPrivitera merged 5 commits into
developfrom
task/JustinPrivitera/03_10_26/matset_converters_4th_matset_type
Mar 14, 2026
Merged

Matset converters now support the existence of the 4th matset layout type#1541
JustinPrivitera merged 5 commits into
developfrom
task/JustinPrivitera/03_10_26/matset_converters_4th_matset_type

Conversation

@JustinPrivitera
Copy link
Copy Markdown
Member

@JustinPrivitera JustinPrivitera commented Mar 10, 2026

  • API change: to_multi_buffer_full -> to_multi_buffer_by_element
  • Added to_uni_buffer_by_material, which just throws an error
  • All converter functions now error if they detect a uni-buffer by material matset.

Note: we don't support the 4th matset type, we just handle the case where someone gives it to us by throwing an error instead of doing the wrong thing.

@JustinPrivitera JustinPrivitera requested a review from cyrush March 10, 2026 21:56
Copy link
Copy Markdown
Member

@cyrush cyrush left a comment

Choose a reason for hiding this comment

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

Looks good!

@JustinPrivitera JustinPrivitera merged commit bff6655 into develop Mar 14, 2026
25 checks passed
@JustinPrivitera JustinPrivitera deleted the task/JustinPrivitera/03_10_26/matset_converters_4th_matset_type branch March 14, 2026 05:20
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