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

Set orientations when making dual simplices #56

Merged
merged 8 commits into from
Jun 16, 2023
Merged

Conversation

lukem12345
Copy link
Member

Using recent versions of Catlab, the MeshInterop tests are failing due to edge orientations being set to nothing instead of a default value, as was the previous behavior.

This pull request solves this issue by calling orient! inside the make_dual_simplices functions if orientations are not set. If a valid orientation is not found, then arbitrary orientations are set.

Currently, all CombinatorialSpaces.jl tests pass, as well as relevant tests in Decapodes.jl that depend on this package.

@lukem12345 lukem12345 self-assigned this Feb 3, 2023
@jpfairbanks
Copy link
Member

Seems like a bit of a foot gun to default to invalid orientations instead of raising an exception. Let's get the build working with this approach, but open an issue about how to handle it in general with @epatters.

@lukem12345 lukem12345 merged commit 893d321 into main Jun 16, 2023
9 checks passed
@epatters epatters deleted the llm/catlab_0.14.14 branch June 16, 2023 23:45
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.

None yet

3 participants