Ticket #9054: trac_9054_factor.patch

File trac_9054_factor.patch, 741 bytes (added by saraedum, 6 years ago)

fixes an import problem in factor()

  • sage/rings/polynomial/polynomial_element.pyx

    exporting patch:
    # HG changeset patch
    # User Julian Rueth <julian.rueth@gmail.com>
    Trac 9054: fixes an AttributeError in factor()
    
    diff --git a/sage/rings/polynomial/polynomial_element.pyx b/sage/rings/polynomial/polynomial_element.pyx
    index cc8d5f7..725c482 100644
    a b import sage.rings.rational_field 
    4848import sage.rings.finite_rings.integer_mod_ring
    4949import sage.rings.complex_field
    5050import sage.rings.fraction_field_element
    51 import sage.rings.function_field
     51import sage.rings.function_field.function_field
    5252import sage.rings.infinity as infinity
    5353#import sage.misc.misc as misc
    5454from sage.misc.sage_eval import sage_eval