Skip to content

Commit

Permalink
Roll out fix for #39 to fmpz_mod_poly.
Browse files Browse the repository at this point in the history
  • Loading branch information
wbhart committed Jun 15, 2016
1 parent ee44de8 commit 2018e95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flint/fmpz_mod_poly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,8 @@ Base.promote_rule{V <: Integer}(::Type{fmpz_mod_poly}, ::Type{V}) = fmpz_mod_pol

Base.promote_rule(::Type{fmpz_mod_poly}, ::Type{fmpz}) = fmpz_mod_poly

Base.promote_rule(::Type{fmpz_mod_poly}, ::Type{GenRes{fmpz}}) = fmpz_mod_poly

###############################################################################
#
# Polynomial substitution
Expand Down

0 comments on commit 2018e95

Please sign in to comment.