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.
1 parent ad7fa08 commit 02ab691Copy full SHA for 02ab691
src/operations/mult.jl
@@ -45,6 +45,15 @@ function set_multiplication_mode(multype)
45
*(A::$T, B::IntervalMatrix) = *($type, A, B)
46
end
47
48
+ # disambiguation with IntervalArithmetic's `RealOrComplexI`
49
+ @static if vIA >= v"0.22.17" # COV_EXCL_LINE
50
+ for T in [:(AbstractMatrix{<:IntervalArithmetic.RealOrComplexI})]
51
+ @eval begin
52
+ *(A::IntervalMatrix, B::$T) = *($type, A, B)
53
+ *(A::$T, B::IntervalMatrix) = *($type, A, B)
54
+ end
55
56
57
58
return config[:multiplication] = multype
59
0 commit comments