We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d4cad commit a9666dcCopy full SHA for a9666dc
REQUIRE
@@ -1,3 +1,3 @@
1
julia 0.4
2
-FixedSizeArrays
+FixedSizeArrays 0.2.2
3
Rotations
src/CoordinateTransformations.jl
@@ -6,14 +6,14 @@ export Point # Use Point{N, T} from FixedSizedArrays for Cartesian frames
6
# TODO: move these over to FixedSizeArrays at some point
7
function Base.vcat(v1::Vec, v2::Vec)
8
(v1p, v2p) = promote(v1, v2)
9
- Vec(v1p._..., v2p._...)
+ Vec(Tuple(v1p)..., Tuple(v2p)...)
10
end
11
function Base.hcat{N,M,P}(m1::Mat{N,M}, m2::Mat{N,P})
12
(m1p, m2p) = promote(m1, m2)
13
- Mat(m1p._..., m2p._...)
+ Mat(Tuple(m1p)..., Tuple(m2p)...)
14
15
@generated function Base.vcat{N,M,P}(m1::Mat{M,N}, m2::Mat{P,N})
16
- exprs = ntuple(i -> :( (m1p._[$i]..., m2p._[$i]...) ) , N)
+ exprs = ntuple(i -> :( (Tuple(m1p)[$i]..., Tuple(m2p)[$i]...) ) , N)
17
expr = Expr(:tuple, exprs...)
18
quote
19
0 commit comments