Repository navigation
Conversation
Codecov ReportBase: 83.66% // Head: 83.47% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #174 +/- ##
==========================================
- Coverage 83.66% 83.47% -0.20%
==========================================
Files 20 20
Lines 1898 1906 +8
==========================================
+ Hits 1588 1591 +3
- Misses 310 315 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Member
Author
|
Hmm. This isn't sufficient, because julia> Any[1 2] * Any[1, 2]
1-element Vector{Any}:
5 |
Member
Author
|
The core issue is that MutableArithmetics.jl/src/implementations/LinearAlgebra.jl Lines 380 to 403 in 201aafb is not a valid fallback for unknown types. |
Member
Author
|
This is the wrong fix. See #175 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #171.
I don't know about this fix. It feels like a kludge.
The core issue is that
Baseis forgiving about the types of containers in linear algebra. It often just does things based on their run-time value. But because MA tries to pre-allocate things, it guesses what will happen from the eltype, e.g., inVector{T}. The problem is that ifTis non-concrete a call tozerowill fail, even though the vector will probably contain concrete runtime values that support the operation.