Closed harisorgn closed 1 year ago
fill! does not work with triangular matrices (nor does .=). Here we access the parent type of a triangular matrix before filling as per @torfjelde 's suggestion.
fill!
.=
parent
Fixes some issues in https://github.com/TuringLang/Turing.jl/pull/2018
fill!
does not work with triangular matrices (nor does.=
). Here we access theparent
type of a triangular matrix before filling as per @torfjelde 's suggestion.Fixes some issues in https://github.com/TuringLang/Turing.jl/pull/2018