Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix "SR tuple" to "maxima list" conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nbruin committed Apr 15, 2014
1 parent bc1d66e commit dfcc9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/interfaces/maxima_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfcc9b0

Please sign in to comment.