https://github.com/JuliaLang/julia
Revision e8d527e15c8a6e60227d6f2c67e656d3ea8f8dfe authored by Tim Holy on 19 January 2021, 19:19:56 UTC, committed by Kristoffer on 20 January 2021, 20:00:56 UTC
`cat` is often called with Varargs or heterogenous inputs,
and inference almost always fails. Even when all the arrays
are of the same type, if the number of varargs isn't known
inference typically fails. The culprit is probably #36454.

This reduces the number of failures considerably, by avoiding
creation of vararg length tuples in the shape-inference pipeline.

(cherry picked from commit 815076b392821609815d5d77077e042ef08d2e14)
1 parent 4904312
History
Tip revision: e8d527e15c8a6e60227d6f2c67e656d3ea8f8dfe authored by Tim Holy on 19 January 2021, 19:19:56 UTC
Improve inferability of shape::Dims for cat (#39294)
Tip revision: e8d527e
File Mode Size
.devcontainer
base
cli
contrib
deps
doc
etc
src
stdlib
test
.clang-format -rw-r--r-- 3.3 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 283 bytes
.mailmap -rw-r--r-- 11.0 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 19.9 KB
HISTORY.md -rw-r--r-- 292.0 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 49.3 KB
Makefile -rw-r--r-- 25.2 KB
NEWS.md -rw-r--r-- 21.2 KB
README.md -rw-r--r-- 6.9 KB
VERSION -rw-r--r-- 12 bytes
sysimage.mk -rw-r--r-- 3.9 KB

README.md

back to top