Public bug reported:

Version: 4.2.0+git20170914-1 (Ubuntu 18.04.1 LTS)

Test case:
---
S a;
L expr = a*(1+a);
factorize;
.end
---

Output:
---
FORM 4.2 (Sep 14 2017) 64-bits                   Run: Thu Nov  8 11:22:11 2018
    S a;
    L expr = a*(1+a);
    factorize;
    print +s;
    .end

Time =       0.00 sec    Generated terms =          2
            expr         Terms in output =          2
                         Bytes used      =         60
Program terminating at test.frm Line 4 --> 
  0.00 sec out of 0.00 sec
---

The binary available at 
https://github.com/vermaseren/form/releases/download/v4.2.0/form-4.2.0-x86_64-linux.tar.gz
 poses no problem and outputs:
---
FORM 4.2.0 (Jul  6 2017, v4.2.0) 64-bits         Run: Thu Nov  8 11:22:37 2018
    S a;
    L expr = a*(1+a);
    factorize;
    print +s;
    .end

Time =       0.00 sec    Generated terms =          2
            expr         Terms in output =          2
                         Bytes used      =         60

Time =       0.00 sec    Generated terms =          3
            expr         Terms in output =          3
               factorize Bytes used      =        136

   expr =

       * ( 1
          + a
          )
       * ( a
          );

  0.00 sec out of 0.00 sec
---

** Affects: form (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802272

Title:
  broken factorization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/form/+bug/1802272/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to