-
Notifications
You must be signed in to change notification settings - Fork 16
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
Overloading fill psparsematrix #34
Conversation
See discussion in JuliaLang/julia#17670 for more details
I always have the doubt if The
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can merge this but we need to check that the fill value is == 0, otherwise we need to throw a "no implemented" error
There is a discussion in regards to this in JuliaLang/julia#17670
I did not know that. I think this is not mentioned in the link above, neither.
And what if you want to set all entries of the matrix to a given value different from zero? How do you do that? |
Ok, perhaps we should override the |
Yes! I was not aware of this function. Very usefull! |
Ok. Done. The only inconvenience is that |
Codecov Report
@@ Coverage Diff @@
## gridap_distributed #34 +/- ##
======================================================
+ Coverage 92.30% 92.34% +0.04%
======================================================
Files 8 8
Lines 1962 1973 +11
======================================================
+ Hits 1811 1822 +11
Misses 151 151
Continue to review full report at Codecov.
|
I think these changes will be needed by GridapDistributed.jl at some point