-
Notifications
You must be signed in to change notification settings - Fork 11
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
Parametrize vector in BlockDiagonal #38
Conversation
Codecov Report
@@ Coverage Diff @@
## master #38 +/- ##
==========================================
- Coverage 95.58% 95.37% -0.21%
==========================================
Files 4 4
Lines 181 173 -8
==========================================
- Hits 173 165 -8
Misses 8 8
Continue to review full report at Codecov.
|
Another option is #33. Would that also solve your issue with the GPU? |
Aren't |
Could be. I simply don't know how that balances with possibly having an abstract eltype for the |
So the best approach would be to get a |
In fact, this would be relevant over in struct BlockDiagonal{T, V} <: AbstractMatrix{T}
blocks::V
end and then restrict |
Closing this one for a new one using @dkarrasch's comment |
Right now the block matrices are hard-coded into a
Vector
, this makes it too restrictive for some actions like passing aBlockDiagonal
to the GPU.Parametrizing it as
solve this issue.