Skip to content

Commit

Permalink
fix: improved error message
Browse files Browse the repository at this point in the history
  • Loading branch information
YueRen committed Nov 19, 2024
1 parent 03ada5d commit b5e0bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TropicalGeometry/variety.jl
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function tropical_variety(I::MPolyIdeal, nu::Union{TropicalSemiringMap,Nothing}=
return tropical_variety_affine_linear(I,nu,weighted_polyhedral_complex_only=weighted_polyhedral_complex_only)
end

@req !check || is_primary(I) "Only primary ideals supported."
@req !check || is_primary(I) "Input ideal not primary. See `tropical_varieties` for non-primary ideals or disable check."

# I general
return tropical_variety_prime(I,nu,weighted_polyhedral_complex_only=weighted_polyhedral_complex_only)
Expand Down

0 comments on commit b5e0bc1

Please sign in to comment.