-
Notifications
You must be signed in to change notification settings - Fork 80
BUG: fix graph kernel builder when kernel returns zero #569
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
Conversation
covecov messed up :) codecov/codecov-action#1089 including fix here to make CI run |
While I think we should jettison the |
Yup, can do that. |
Codecov Report
@@ Coverage Diff @@
## main #569 +/- ##
=======================================
+ Coverage 81.6% 81.6% +0.1%
=======================================
Files 127 128 +1
Lines 14933 14937 +4
=======================================
+ Hits 12183 12195 +12
+ Misses 2750 2742 -8
|
Failures seem to be simple connection errors. |
edit: sorry, scratch that. I see by that time we're already in sparse land, so replacement is hard |
I'll merge this now. We have the |
When the kernel function returns zeros, the conversion of sparse to arrays drops observations causing a mismatch in the shape of Graph.sparse and original input.
We simply cannot use
taper
. If there is a good use case for callingeliminate_zeros()
, we may revise that but with a smarter implementation to avoid this issue. See the test for reproducible example.