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 #20979

Closed
StefanKarpinski opened this issue Mar 10, 2017 · 0 comments
Closed

bug involving broadcast and vector ctranspose #20979

StefanKarpinski opened this issue Mar 10, 2017 · 0 comments
Assignees
Labels
domain:linear algebra Linear algebra kind:bug Indicates an unexpected problem or unintended behavior

Comments

@StefanKarpinski
Copy link
Sponsor Member

I was trying to give a motivating example in #20978 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 kind:bug Indicates an unexpected problem or unintended behavior domain:linear algebra Linear algebra labels Mar 10, 2017
@mbauman mbauman self-assigned this Mar 10, 2017
mbauman added a commit that referenced this issue Mar 10, 2017
Fix #20979. Amusingly, this bug is a direct of `transpose` being recursive.
mbauman added a commit that referenced this issue Mar 10, 2017
Fix #20979. Amusingly, this bug is a direct of `transpose` being recursive.
mbauman added a commit that referenced this issue Mar 12, 2017
Fix #20979. Amusingly, this bug is a direct result of `transpose` being recursive.
ajkeller34 pushed a commit to ajkeller34/julia that referenced this issue Mar 19, 2017
Fix JuliaLang#20979. Amusingly, this bug is a direct result of `transpose` being recursive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:linear algebra Linear algebra kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants