broken factorization

Bug #1802272 reported by Gauthier on 2018-11-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
form (Ubuntu)
Undecided
Unassigned

Bug Description

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
---

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers