Skip to content

Commit

Permalink
Add a transpose
Browse files Browse the repository at this point in the history
  • Loading branch information
joschmitt committed Feb 16, 2024
1 parent 8e8e087 commit 5bbb14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TropicalGeometry/linear_space.jl
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function tropical_linear_space(I::MPolyIdeal, nu::Union{Nothing,TropicalSemiring
x = gens(base_ring(I))
G = gens(I)
macaulayMatrix = matrix([[coeff(g,xi) for xi in x] for g in G])
A = kernel(macaulayMatrix, side = :right)
A = transpose(kernel(macaulayMatrix, side = :right))
TropL = tropical_linear_space(A,nu,
weighted_polyhedral_complex_only=weighted_polyhedral_complex_only)
if !weighted_polyhedral_complex_only
Expand Down

0 comments on commit 5bbb14d

Please sign in to comment.