Ticket #12289: trac_12289-py_float-fix-rebase.patch

File trac_12289-py_float-fix-rebase.patch, 663 bytes (added by kcrisman, 6 years ago)
  • sage/libs/ginac.pxd

    # HG changeset patch
    # User Benjamin Jones <benjaminfjones@gmail.com>
    # Date 1338170406 25200
    # Node ID 43e9f42f159040ff5ffe3c952e85d90af1657338
    # Parent  58ea043327ae35ed900e2b22ae690bf678c839ed
    Trac 12289: fix py_float declaration
    
    diff --git a/sage/libs/ginac.pxd b/sage/libs/ginac.pxd
    a b  
    450450        object (*py_integer_from_long)(long int x) except +
    451451        object (*py_integer_from_python_obj)(object x) except +
    452452
    453         object (*py_float)(object a, PyObject* parent) except +
     453        object (*py_float)(object a, object b) except +
    454454        object (*py_RDF_from_double)(double x)
    455455
    456456