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

Ones{Bool}±Zeros{Bool} should be Ones{Int} #209

Closed
putianyi889 opened this issue Mar 4, 2023 · 0 comments · Fixed by #219
Closed

Ones{Bool}±Zeros{Bool} should be Ones{Int} #209

putianyi889 opened this issue Mar 4, 2023 · 0 comments · Fixed by #219

Comments

@putianyi889
Copy link
Contributor

putianyi889 commented Mar 4, 2023

julia> true-false
1

julia> ones(Bool,5)-zeros(Bool,5)
5-element Vector{Int64}:
 1
 1
 1
 1
 1

julia> Ones{Bool}(5)-Zeros{Bool}(5)
5-element Ones{Bool}
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

Successfully merging a pull request may close this issue.

1 participant