mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-09-08 15:31:44 +02:00
avoid temporary variable
This commit is contained in:
parent
7bbfe4408c
commit
53c1872d0d
@ -520,8 +520,7 @@ function create_pm{T<:GroupElem}(basis::Vector{T}, basis_dict::Dict{T, Int},
|
|||||||
x = inv(x)
|
x = inv(x)
|
||||||
end
|
end
|
||||||
for j in 1:limit
|
for j in 1:limit
|
||||||
w = x*(basis[j])
|
product_matrix[i,j] = basis_dict[x*(basis[j])]
|
||||||
product_matrix[i,j] = basis_dict[w]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return product_matrix
|
return product_matrix
|
||||||
|
Loading…
Reference in New Issue
Block a user