From 8488d2a1e0ba0c1602337ab2aa5b03c0850cac80 Mon Sep 17 00:00:00 2001 From: was Date: Sat, 3 May 2008 14:16:46 -0700 Subject: [PATCH] Trac #3098 -- singular synchronization and garbage collection issue. --- src/sage/interfaces/singular.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/interfaces/singular.py b/src/sage/interfaces/singular.py index bde1bb27d68..87449fb8794 100644 --- a/src/sage/interfaces/singular.py +++ b/src/sage/interfaces/singular.py @@ -451,7 +451,7 @@ def clear(self, var): """ Clear the variable named var. """ - self.eval('if(defined(%s)>0){kill %s;}'%(var,var)) + self._eval_line('if(defined(%s)>0){kill %s;}'%(var,var), wait_for_prompt=False) def _create(self, value, type='def'): name = self._next_var_name()