Skip to content

Conversation

@badGarnet
Copy link
Collaborator

@badGarnet badGarnet commented Oct 15, 2024

This PR fixes two bugs:

  • fix a type casting issue when subtracting a int array with a float. This popped up when testing with unstructured, and some sources of element coordinates are of int type. This PR adds a new unit test case for int coord type with the grouping function
  • fix element class id 0 becomes None bug: this happens when dumping LayoutElements as a list of LayoutElement. When an element class id is 0 the logic on main would treat it as no existing and use None as the type.

Copy link
Contributor

@christinestraub christinestraub left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

3 participants