Detected SAGE64 flag
Building Sage on OS X in 64bit mode
# HG changeset patch
# User Chris Hall <chall14@uwyo.edu>
# Date 1305045830 21600
# Node ID 60499ea563eb6eb589b1f6f4e0170cc5ca1ec9d0
# Parent 361a4ad7d52c69b64ae2e658ffd0820af0d87e93
Trac 10635: added hooks in roots() and factor() for fieldprovided routines
diff r 361a4ad7d52c r 60499ea563eb sage/rings/polynomial/polynomial_element.pyx
a

b


2742  2742  from sage.rings.rational_field import is_RationalField 
2743  2743  
2744  2744  n = None 
 2745  if hasattr(R, '_factor_univariate_polynomial'): 
 2746  return R._factor_univariate_polynomial(self) 
 2747  
2745  2748  if is_IntegerModRing(R) or is_IntegerRing(R) or is_RationalField(R): 
2746  2749  
2747  2750  try: 
… 
… 

4710  4713  
4711  4714  K = self.parent().base_ring() 
4712  4715  L = K if ring is None else ring 
 4716  
 4717  if hasattr(K, '_roots_univariate_polynomial'): 
 4718  return K._roots_univariate_polynomial(self, ring=ring, multiplicities=multiplicities, algorithm=algorithm) 
4713  4719  
4714  4720  late_import() 
4715  4721  