From a696205d6ee551c31d0d892b1c57ee54f8e9e365 Mon Sep 17 00:00:00 2001 From: kalmar Date: Mon, 6 Mar 2017 12:02:10 +0100 Subject: [PATCH] square_as_elt is defined @everywhere; No need to include the whole property(T).jl @everywhere; this usually takes a lot of time --- SL3Z.jl | 2 +- property(T).jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL3Z.jl b/SL3Z.jl index e0f4a1f..67f552b 100644 --- a/SL3Z.jl +++ b/SL3Z.jl @@ -117,6 +117,6 @@ end @everywhere push!(LOAD_PATH, "./") using GroupAlgebras -@everywhere include("property(T).jl") +include("property(T).jl") main() diff --git a/property(T).jl b/property(T).jl index 75bfc0c..419549b 100644 --- a/property(T).jl +++ b/property(T).jl @@ -95,7 +95,7 @@ function EOI{T<:Number}(Δ::GroupAlgebraElement{T}, κ::T) return Δ*Δ - κ*Δ end -function square_as_elt(vector, elt) +@everywhere function square_as_elt(vector, elt) zzz = zeros(elt.coefficients) zzz[1:length(vector)] = vector # new_base_elt = GroupAlgebraElement(zzz, elt.product_matrix)