diff --git a/common.jl b/common.jl index a81fb81..c496a0a 100644 --- a/common.jl +++ b/common.jl @@ -8,9 +8,7 @@ struct system{T} L::T μ::T - function system{T}(d::Int, n::Int, N::Int, L::Real, μ::Real) where {T<:Float} - return new{T}(d, n, N, convert(T, L), convert(T, μ)) - end + system{T}(d::Int, n::Int, N::Int, L::Real, μ::Real) where {T<:Float} = new{T}(d, n, N, convert(T, L), convert(T, μ)) end norm_square(x::Array{Int})::Int = sum(x .* x)