Skip to content

Commit

Permalink
Update src/PolyhedralGeometry/PolyhedralComplex/standard_construction…
Browse files Browse the repository at this point in the history
…s.jl
  • Loading branch information
lgoettgens authored and YueRen committed Jan 24, 2025
1 parent 0e4171d commit be24967
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ function *(c::QQFieldElem, Sigma::PolyhedralComplex)
SigmaIncidence = maximal_polyhedra(IncidenceMatrix,Sigma)
return polyhedral_complex(SigmaIncidence, multiply_by_nonzero_scalar.(SigmaVertsAndRays,c), SigmaRayIndices, SigmaLineality)
end
*(c::Union{ZZRingElem,Rational,Int}, Sigma::PolyhedralComplex) = QQ(c)*Sigma
*(Sigma::PolyhedralComplex, c::Union{QQFieldElem,ZZRingElem,Rational,Int}) = c*Sigma
*(c::RationalUnion, Sigma::PolyhedralComplex) = QQ(c)*Sigma
*(Sigma::PolyhedralComplex, c::RationalUnion) = c*Sigma


###############################################################################
Expand Down

0 comments on commit be24967

Please sign in to comment.