Ticket #12701: trac_12701.patch

File trac_12701.patch, 919 bytes (added by jen, 9 years ago)
  • sage/rings/polynomial/padics/polynomial_padic_capped_relative_dense.py

    # HG changeset patch
    # User Jennifer Balakrishnan <jen@math.harvard.edu>
    # Date 1332206352 25200
    # Node ID 47a987501a625e5303ea5f1fac38d7da881e3dde
    # Parent  5f5862411c6d9dca14b38bef4871bd76e454bb2f
    Trac 12701
    
    diff --git a/sage/rings/polynomial/padics/polynomial_padic_capped_relative_dense.py b/sage/rings/polynomial/padics/polynomial_padic_capped_relative_dense.py
    a b  
    10441044                yrel = self._valaddeds[i]
    10451045                answer.append((i, self._valbase + yrel))
    10461046                curslope = (yfrel - yrel) / (xf - i)
     1047        from sage.misc.stopgap import stopgap
     1048        stopgap("Check that the Newton polygon below is actually convex.", 6667)
    10471049        answer.append((xf, self._valbase + self._valaddeds[xf]))
    10481050        return answer
    10491051