From dfcc9b05c5ba39e8b24ebb135c265d1814ff3910 Mon Sep 17 00:00:00 2001 From: Nils Bruin Date: Mon, 14 Apr 2014 18:31:11 -0700 Subject: [PATCH] fix "SR tuple" to "maxima list" conversion --- src/sage/interfaces/maxima_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/interfaces/maxima_lib.py b/src/sage/interfaces/maxima_lib.py index bca00fd2e4f..d30dc903d0a 100644 --- a/src/sage/interfaces/maxima_lib.py +++ b/src/sage/interfaces/maxima_lib.py @@ -1488,7 +1488,7 @@ def sr_to_max(expr): elif (op in special_sage_to_max): return EclObject(special_sage_to_max[op](*[sr_to_max(o) for o in expr.operands()])) elif op == tuple: - return EclObject( ([mlist],tuple(sr_to_max(op) for op in expr.operands())) ) + return EclObject( ([mlist],list(sr_to_max(op) for op in expr.operands())) ) elif not (op in sage_op_dict): # Maxima does some simplifications automatically by default # so calling maxima(expr) can change the structure of expr