-
Notifications
You must be signed in to change notification settings - Fork 8
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
Find invalid entries in homs #62
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #62 +/- ##
==========================================
+ Coverage 90.04% 90.48% +0.44%
==========================================
Files 12 14 +2
Lines 1085 1146 +61
==========================================
+ Hits 977 1037 +60
- Misses 108 109 +1
☔ View full report in Codecov by Sentry. |
Thanks @kris-brown for the review! I've addressed your comments, and now the |
Thanks @slwu89, this looks good to merge in once you add an extra test line for |
Thanks @kris-brown! Tests for |
Address #57 by defining a new function
undefined_subparts
which, given a hom, finds for what parts in the domain it is undefined. The most common use is after callingrem_parts!
on an object, homs with that object as a codomain will have undefined values and we'd like to find them.This function is only defined for homs whose domain object is
<: DenseParts
, because whenrem_parts!
is used on<: MarkAsDeleted
, only out-homs are deleted, so given an in-hom it won't be possible to recover the indices of parts "incident" to the undefined value. Example in code below: