Julia Programming Language
Why exactly is promote(1:2,[1,2]) designed to throw an error?
New to Julia
pfitzseb
May 24, 2022, 8:55am
2
FWIW, this got fixed in either 1.8 or 1.9:
julia> promote(1:2, [1,2]) ([1, 2], [1, 2])
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Type promototion of Vectors
General Usage
6
1013
October 23, 2019
Type promotion clarification
New to Julia
2
270
October 27, 2020
Is that an issue in promote()?
General Usage
13
549
March 3, 2020
I am surprised that promotion does not occur here
New to Julia
13
642
March 15, 2021
Understanding promotion
New to Julia
4
851
October 5, 2017