Skip to content

Commit c673173

Browse files
committed
gap: adapt get_global to use official libgap API
1 parent 443b754 commit c673173

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/libs/gap/libgap.pyx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,7 @@ class Gap(Parent):
539539
...
540540
GAPError: Error, VAL_GVAR: No value bound to FooBar
541541
"""
542-
value_global = self.function_factory('ValueGlobal')
543-
return value_global(variable)
542+
return GAP_ValueGlobalVariable(variable)
544543

545544
def global_context(self, variable, value):
546545
"""

0 commit comments

Comments
 (0)