From 4bf3f70f611ac9f165887b04be3141023845bd3b Mon Sep 17 00:00:00 2001 From: Mus M Date: Sat, 12 Nov 2016 11:24:34 -0500 Subject: [PATCH] Add return to mx --- src/mxarray.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mxarray.jl b/src/mxarray.jl index 5662e61..079372c 100644 --- a/src/mxarray.jl +++ b/src/mxarray.jl @@ -456,7 +456,7 @@ function mxstruct{T}(d::T) for i = 1:length(names) set_field(mx, names_str[i], mxarray(getfield(d, names[i]))) end - mx + return mx end function mxstructarray{T}(d::Array{T})