Skip to content

complex dot() gives wrong answer #92

Closed
@ViralBShah

Description

@ViralBShah

julia> a = complex(ones(8),ones(8))
[1.0 + 1.0im,1.0 + 1.0im,1.0 + 1.0im,1.0 + 1.0im,1.0 + 1.0im,1.0 + 1.0im,1.0 + 1.0im,1.0 + 1.0im]

julia> dot(a,a)
0.0 + 16.0im

Answer should be 16. I guess we need to do conj() somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions