We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
promote_operation_fallback
AddSubMul
UniformScaling
1 parent 0267f18 commit d988f1cCopy full SHA for d988f1c
src/interface.jl
@@ -57,6 +57,23 @@ function promote_operation_fallback(
57
return promote_operation(new_op, T, z)
58
end
59
60
+function promote_operation_fallback(
61
+ op::AddSubMul,
62
+ ::Type{S},
63
+ ::Type{LinearAlgebra.UniformScaling{T}},
64
+) where {S, T}
65
+ promote_operation(op, S, T)
66
+end
67
+
68
+# avoids ambiguity of the method above this with the one below it
69
70
71
72
73
+) where {S <: AbstractArray, T}
74
+ promote_operation(op, S, Matrix{T})
75
76
77
function promote_operation_fallback(
78
op::AddSubMul,
79
x::Type{<:AbstractArray},
0 commit comments