vermaseren / form

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

Moduleoption polyratfun documentation #313

Closed jodavies closed 7 months ago

jodavies commented 5 years ago

Hello,

The manual gives

moduleoption <option>[,<value>];

thus, one expects

moduleoption polyratfun,prf;

to work.

In fact, one must use

moduleoption polyratfun = prf;

or receive the error

Line 12 --> Illegal name: ''

I suppose either the manual or the accepted syntax should be updated to match.

Thanks, Josh.

tueda commented 5 years ago

I think this is a bug of ModuleOption because if I use parallel as the function name for the PolyRatFun, then it works as expected...

FORM 4.2.1 (Feb  6 2019, v4.2.1-3-g558b01f) 64-bits  Run: Tue Jun 18 20:47:56 2019
    CF parallel;
    L F = 1;
    ModuleOption polyratfun,parallel;
    P;
    .end

Time =       0.01 sec    Generated terms =          1
               F         Terms in output =          1
                         Bytes used      =         48

   F =
      parallel(1,1);