Skip to content

Commit e0e4cba

Browse files
committed
fix #91 a bit
1 parent ce79a6d commit e0e4cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ops.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function promote_rule{N, T, X<:Number}(::Type{Vec{N,T}}, ::Type{X})
116116
Vec{N, promote_type(T, X)}
117117
end
118118

119-
@inline ctranspose{R, C, T}(a::Mat{R, C, T}) = Mat(ntuple(CRowFunctor(a), Val{R}))
119+
@inline ctranspose{R, C, T}(a::Mat{R, C, T}) = Mat{C,R,T}(ntuple(CRowFunctor(a), Val{R}))
120120
@generated function ctranspose{N,T}(b::Vec{N,T})
121121
expr = [:(b._[$i]',) for i=1:N]
122122
return quote

0 commit comments

Comments
 (0)