getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] [getfem-commits] branch master updated: Fix inconsisten


From: Konstantinos Poulios
Subject: [Getfem-commits] [getfem-commits] branch master updated: Fix inconsistent argument in C extension python type initialization
Date: Tue, 17 Oct 2023 05:34:27 -0400

This is an automated email from the git hooks/post-receive script.

logari81 pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
     new 0b85c037 Fix inconsistent argument in C extension python type 
initialization
0b85c037 is described below

commit 0b85c0370e454931519b17ec4d30e922e37b46cd
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Tue Oct 17 11:34:17 2023 +0200

    Fix inconsistent argument in C extension python type initialization
---
 interface/src/python/getfem_python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/src/python/getfem_python.c 
b/interface/src/python/getfem_python.c
index beeb0cc8..2c67ae29 100644
--- a/interface/src/python/getfem_python.c
+++ b/interface/src/python/getfem_python.c
@@ -139,7 +139,7 @@ static PyTypeObject PyGetfemObject_Type = {
     0,                                 /* tp_getattr */
     0,                                 /* tp_setattr */
 #if PY_MAJOR_VERSION >= 3
-    GetfemObject_compare,              /* tp_compare, necessary for 
dictionary*/
+    0,                                 /* tp_as_async */
 #else
     (cmpfunc)GetfemObject_compare,     /* tp_compare, necessary for 
dictionary*/
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]