Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug involving broadcast and vector ctranspose #409

Closed
StefanKarpinski opened this issue Mar 10, 2017 · 0 comments · Fixed by JuliaLang/julia#20980
Closed

bug involving broadcast and vector ctranspose #409

StefanKarpinski opened this issue Mar 10, 2017 · 0 comments · Fixed by JuliaLang/julia#20980
Assignees
Labels
bug Something isn't working

Comments

@StefanKarpinski
Copy link
Member

I was trying to give a motivating example in #408 and encountered this issue:

julia> m(z::Complex) = [z.re -z.im; z.im z.re]
m (generic function with 1 method)

julia> v = [1+2im]'
1×1 RowVector{Complex{Int64},ConjArray{Complex{Int64},1,Array{Complex{Int64},1}}}:
 1-2im

julia> (m.(v))[1]
2×2 Array{Int64,2}:
 1  -2
 2   1

julia> m(v[1])
2×2 Array{Int64,2}:
  1  2
 -2  1
@StefanKarpinski StefanKarpinski added bug Something isn't working linear algebra labels Mar 10, 2017
@mbauman mbauman self-assigned this Mar 10, 2017
mbauman referenced this issue in JuliaLang/julia Mar 10, 2017
Fix #20979. Amusingly, this bug is a direct of `transpose` being recursive.
mbauman referenced this issue in JuliaLang/julia Mar 10, 2017
Fix #20979. Amusingly, this bug is a direct of `transpose` being recursive.
mbauman referenced this issue in JuliaLang/julia Mar 12, 2017
Fix #20979. Amusingly, this bug is a direct result of `transpose` being recursive.
ajkeller34 referenced this issue in ajkeller34/julia Mar 19, 2017
Fix #20979. Amusingly, this bug is a direct result of `transpose` being recursive.
@KristofferC KristofferC transferred this issue from JuliaLang/julia Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants