Skip to content

Commit

Permalink
edit as ComplexD64 is not a type
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Feb 24, 2019
1 parent 9c0d3e6 commit 0d3ebef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@
@test DC1DC2 == ComplexD64.(C1C2)
@test DC1FC2 == ComplexD64.(C1C2)
@test FC1DC2 == ComplexD64.(C1C2)
@test DC1DC2 isa Array{ComplexD64,2}
@test DC1FC2 isa Array{ComplexD64,2}
@test FC1DC2 isa Array{ComplexD64,2}
# ComplexD64 is not a type, it is a constructor function
@test DC1DC2 isa Array{Complex{DoubleFloat{Float64}},2}
@test DC1FC2 isa Array{Complex{DoubleFloat{Float64}},2}
@test FC1DC2 isa Array{Complex{DoubleFloat{Float64}},2}

end

0 comments on commit 0d3ebef

Please sign in to comment.