We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744939e commit 483474aCopy full SHA for 483474a
src/sage/libs/gap/element.pyx
@@ -2504,6 +2504,7 @@ cdef class GapElement_Function(GapElement):
2504
cdef Obj result = NULL
2505
cdef Obj arg_list
2506
cdef int n = len(args)
2507
+ cdef volatile Obj v2
2508
2509
if n > 0 and n <= 3:
2510
libgap = self.parent()
@@ -2522,10 +2523,11 @@ cdef class GapElement_Function(GapElement):
2522
2523
(<GapElement>a[0]).value,
2524
(<GapElement>a[1]).value)
2525
elif n == 3:
2526
+ v2 = (<GapElement>a[2]).value
2527
result = GAP_CallFunc3Args(self.value,
2528
2529
(<GapElement>a[1]).value,
- (<GapElement>a[2]).value)
2530
+ v2)
2531
else:
2532
arg_list = make_gap_list(args)
2533
result = GAP_CallFuncList(self.value, arg_list)
0 commit comments