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

Lenin (gagarin) wrote :

Also on Ubunut 18.04, I can't reproduce:

$ form test.frm
FORM 4.2 (Sep 14 2017) 64-bits Run: Tue Nov 20 11:34:41 2018
    S a;
    L expr = a*(1+a);
    factorize;
    .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
  0.00 sec out of 0.00 sec

ii form 4.2.0+git20170914-1 amd64 Symbolic manipulation system

Lenin (gagarin) on 2018-11-20
Changed in form (Ubuntu):
status: New → Incomplete
Gauthier (gauthier.d) wrote :

Tried on another Ubuntu 18.04 machine. Works fine there. Can close the bug thus, I guess, unless it affects other users.

Lenin (gagarin) on 2018-11-26
Changed in form (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers