vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
1.14k stars 136 forks source link

Error by MaxTermSize that is hard to understand, with Keep Brackets #156

Closed tueda closed 7 years ago

tueda commented 7 years ago

The following program stops due to a shortage of MaxTermSize, but the error message doesn't mention it

#:maxtermsize 1000
CF f;
S a1,...,a120,x;
L F = f(a1+...+a120) * x;
B x;
.sort
Keep Brackets;
multiply f(a1+...+a20);
.end
FORM 4.1 (Nov 29 2016, v4.1-20131025-272-gb993ca7) 64-bits  Run: Thu Dec  8 18:01:39 2016

Time =       0.00 sec    Generated terms =          1
               F         Terms in output =          1
                         Bytes used      =       3908
    Keep Brackets;
    multiply f(a1+...+a20);
    .end
Called from InsertTerm
Program terminating at test.frm Line 8 -->

Would be nice if FORM could say this is because of MaxTermSize.