-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
The following code should print the maximum number of terms that one thread got, but tform often crashes:
Auto S x;
L F = x1+...+x100; * Ensure well-parallelized.
.sort
#$n = 0;
$n = $n + 1;
ModuleOption maximum $n;
.sort
#message `$n'
.end
TFORM 4.1 (Nov 15 2016, v4.1-20131025-263-g033e880) 64-bits 4 workers Run: Wed Nov 23 16:19:56 2016
Auto S x;
L F = x1+...+x100; * Ensure well-parallelized.
.sort
Time = 0.00 sec Generated terms = 100
F Terms in output = 100
Bytes used = 2808
#$n = 0;
$n = $n + 1;
ModuleOption maximum $n;
.sort
Program terminating in thread 1 at 1.frm Line 6 -->
0.00 sec + 0.00 sec: 0.01 sec out of 0.00 sec
Is it not expected to use $n = $n + 1 for the maximum option?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels