1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-23 00:10:28 +01:00

square_as_elt is defined @everywhere;

No need to include the whole property(T).jl @everywhere;
this usually takes a lot of time
This commit is contained in:
kalmar 2017-03-06 12:02:10 +01:00
parent 2d90e2bf7c
commit a696205d6e
2 changed files with 2 additions and 2 deletions

View File

@ -117,6 +117,6 @@ end
@everywhere push!(LOAD_PATH, "./")
using GroupAlgebras
@everywhere include("property(T).jl")
include("property(T).jl")
main()

View File

@ -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)