According to the docstring of Base.cat the vcat function is a special case of cat with dims=1.
This is not the case for Dimensions.
When I use cat(a,b, dims=1) I get a two element vector which includes a and b. When I use vcat I get the concatenated dimension which I intended to get.
I am not sure, how bad the difference is, but it took me some time to spot what is happening.
I tried to construct a MWE but when I use simple Dimensions I get the following error:
According to the docstring of
Base.cat
thevcat
function is a special case of cat with dims=1. This is not the case for Dimensions. When I use cat(a,b, dims=1) I get a two element vector which includes a and b. When I use vcat I get the concatenated dimension which I intended to get. I am not sure, how bad the difference is, but it took me some time to spot what is happening.I tried to construct a MWE but when I use simple Dimensions I get the following error: