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

An apparent minor bug #23946

Closed
FredJames32 opened this issue Oct 1, 2017 · 2 comments
Closed

An apparent minor bug #23946

FredJames32 opened this issue Oct 1, 2017 · 2 comments

Comments

@FredJames32
Copy link

FredJames32 commented Oct 1, 2017

A = zeros(3,1)'
B = zeros(3)'
A == B  # true
A' == B' # false
@yuyichao yuyichao closed this as completed Oct 1, 2017
@yuyichao yuyichao reopened this Oct 1, 2017
@JuliaLang JuliaLang deleted a comment from FredJames32 Oct 1, 2017
@FredJames32
Copy link
Author

A = zeros(3,1)'
Out[1]:
1×3 Array{Float64,2}:
0.0 0.0 0.0
In [2]:
B = zeros(3)'
Out[2]:
1×3 RowVector{Float64,Array{Float64,1}}:
0.0 0.0 0.0
In [3]:
A == B #true
Out[3]:
true
In [4]:
A'==B' # false
Out[4]:
false

@fredrikekre
Copy link
Member

#21998

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants