Vector accidentally overwritten in one specialization of / #35071
Labels
domain:linear algebra
Linear algebra
kind:bug
Indicates an unexpected problem or unintended behavior
Reviewing all occurrences of conversions to the abstract type
AbstractArray
in LinearAlgebra, I came across this corner-case issue:The vector
v
here is accidentally overwritten. The offending line is this one, where in the statementconvert(AbstractVector{T}, conj(trA.parent))
neitherconj
nor the conversion is guaranteed to actually copy the data in all cases. There is a similar issue three lines below it (with equally exotic arguments).My code review was motivated by #34995 and I'm currently attempting to fix both issues.
The text was updated successfully, but these errors were encountered: