# HG changeset patch
# User Han Frederic <han@math.jussieu.fr>
# Date 1346759575 -7200
# Node ID 327945b2fc8cc9f955dfe60706f4df8c3911d938
# Parent 90cdc6a8ad4e4bed83142b4ca0e6c551acd73204
add an argument in eval line. big matrices conversion to giac was broken after sage 5.2
diff --git a/sage/interfaces/giac.py b/sage/interfaces/giac.py
a
|
b
|
|
553 | 553 | return float(self('time() - %s'%float(t))) |
554 | 554 | |
555 | 555 | |
556 | | def _eval_line(self, line, allow_use_file=True, wait_for_prompt=True): |
| 556 | def _eval_line(self, line, allow_use_file=True, wait_for_prompt=True, restart_if_needed=False): |
557 | 557 | """ |
558 | 558 | EXAMPLES:: |
559 | 559 | |
560 | 560 | sage: giac._eval_line('2+2') # optional - giac |
561 | 561 | '4' |
| 562 | |
| 563 | sage: A=matrix([range(280)]) # optional - giac |
| 564 | sage: GA=giac(A) # optional - giac |
562 | 565 | """ |
563 | 566 | with gc_disabled(): |
564 | 567 | z = Expect._eval_line(self, line, allow_use_file=allow_use_file, |