Ticket #4539: trac4539_overflow.patch

File trac4539_overflow.patch, 460 bytes (added by AlexanderDreyer, 3 years ago)

Patch for using trac4539_libplural-2011-09-27-untested.patch together with #11856 (not needed for trac4539_libplural_todo.patch)

  • sage/rings/polynomial/plural.pyx

    # HG changeset patch
    # Parent b0358ea9e41c1ec8e34527d13c4f43762681a3d7
    
    diff --git a/sage/rings/polynomial/plural.pyx b/sage/rings/polynomial/plural.pyx
    a b  
    20522052        m = p_ISet(1,r) 
    20532053        i = 1 
    20542054        for e in x: 
    2055             overflow_check(e) 
     2055            overflow_check(e, r) 
    20562056            p_SetExp(m, i, int(e), r) 
    20572057            i += 1 
    20582058        p_Setm(m, r)