Skip to content

Widen alpha, beta type in mul! signature#21

Merged
KristofferC merged 1 commit intoJuliaSparse:masterfrom
pablosanjose:alphaT
Sep 15, 2020
Merged

Widen alpha, beta type in mul! signature#21
KristofferC merged 1 commit intoJuliaSparse:masterfrom
pablosanjose:alphaT

Conversation

@pablosanjose
Copy link
Copy Markdown
Member

Currently, mul!(C,A,B,α,β) enforces α and β to be of the same type as the eltype of C, A and B. That's wholly unnecessary, and can easily cause an undesired dispatch to LinearAlgebra methods. This relaxes this constraint.

@KristofferC KristofferC merged commit 0e077dd into JuliaSparse:master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants