From e8593d51a35c30d39f0ccbb375ed7c030e4e72e5 Mon Sep 17 00:00:00 2001 From: ysyapa Date: Thu, 11 May 2023 17:36:09 -0400 Subject: [PATCH] Minor refactoring --- common.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)