We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3145bd3 commit 8d585afCopy full SHA for 8d585af
src/Modules/UngradedModules/Tensor.jl
@@ -15,10 +15,10 @@ function tensor_product(G::FreeMod...; task::Symbol = :none)
15
if !all(gs) && !all(!x for x in gs)
16
error("All factors must either be graded or all must be ungraded.")
17
end
18
- s = G[1].S
+ s = symbols(G[1])
19
t = [[x] for x = 1:ngens(G[1])]
20
for H = G[2:end]
21
- s = [Symbol("$x \\otimes $y") for x = s for y = H.S]
+ s = [Symbol("$x \\otimes $y") for x = s for y = symbols(H)]
22
t = [push!(deepcopy(x), y) for x = t for y = 1:ngens(H)]
23
24
0 commit comments