Ticket #12289: trac_12289_py_float_fix.patch

File trac_12289_py_float_fix.patch, 683 bytes (added by benjaminfjones, 7 years ago)

fix py_float delcaration

  • sage/libs/ginac/decl.pxi

    # HG changeset patch
    # User Benjamin Jones <benjaminfjones@gmail.com>
    # Date 1338170406 25200
    # Node ID 599c160d55cf3eeba3dfd195d90aa6a39ec1461a
    # Parent  d9c906677230d6c69bad9749524e67ab7707ae5f
    Trac 12289: fix py_float declaration
    
    diff --git a/sage/libs/ginac/decl.pxi b/sage/libs/ginac/decl.pxi
    a b  
    454454        object (*py_integer_from_long)(long int x) except +
    455455        object (*py_integer_from_python_obj)(object x) except +
    456456
    457         object (*py_float)(object a, PyObject* parent) except +
     457        object (*py_float)(object a, object b) except +
    458458        object (*py_RDF_from_double)(double x)
    459459
    460460