@@ -55,8 +55,8 @@ LinearAlgebra.mul!(y::AbstractVector, A::Union{SimpleFunctionMap,SimpleComplexFu
5555 @test @inferred ! ishermitian (F)
5656 @test @inferred ! ishermitian (FC)
5757 @test @inferred ! isposdef (F)
58- @test occursin (" 10×10 SimpleFunctionMap{Float64 }" , sprint ((t, s) -> show (t, " text/plain" , s), F))
59- @test occursin (" 10×10 SimpleComplexFunctionMap{Complex{Float64} }" , sprint ((t, s) -> show (t, " text/plain" , s), FC))
58+ @test occursin (" 10×10 SimpleFunctionMap{$( eltype (F)) }" , sprint ((t, s) -> show (t, " text/plain" , s), F))
59+ @test occursin (" 10×10 SimpleComplexFunctionMap{$( eltype (FC)) }" , sprint ((t, s) -> show (t, " text/plain" , s), FC))
6060 α = rand (ComplexF64); β = rand (ComplexF64)
6161 v = rand (ComplexF64, 10 ); V = rand (ComplexF64, 10 , 3 )
6262 w = rand (ComplexF64, 10 ); W = rand (ComplexF64, 10 , 3 )
@@ -71,8 +71,10 @@ LinearAlgebra.mul!(y::AbstractVector, A::Union{SimpleFunctionMap,SimpleComplexFu
7171 @test F * v ≈ L * v
7272 # generic 5-arg mul! and matrix-mul!
7373 @test mul! (copy (w), F, v, α, β) ≈ L* v* α + w* β
74+ @test mul! (copy (w), F, v, 0 , β) ≈ w* β
7475 @test mul! (copy (W), F, V) ≈ L* V
7576 @test mul! (copy (W), F, V, α, β) ≈ L* V* α + W* β
77+ @test mul! (copy (W), F, V, 0 , β) ≈ W* β
7678
7779 Fs = sparse (F)
7880 @test Fs == L
0 commit comments