Closed tueda closed 7 years ago
Unfortunately, this issue has not been fixed yet.
Hi Takahiro,
I am now working on 162 and that one is rather interesting/nasty. When followed by HAAKJE and more stuff x1x1x1 comes before x1 but without in the routine that searches for the brackets in the index it comes after. I have to think how to solve that one without changing things for the user (like putting x1( before x1x1x1( ).
Cheers
Jos
On 13 jan. 2017, at 21:32, Takahiro Ueda notifications@github.com wrote:
Unfortunately, this issue has not been fixed yet.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vermaseren/form/issues/162#issuecomment-272540606, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLxEr9to6eRdTe_ih4-V_18Y1yBjm6aks5rR99SgaJpZM4LUKog.
Hi Takahiro,
The following little program shows the problem very clearly:
CF f1;
Off Statistics;
L F = f1^3+f1^2+f1+1;
Print +f;
.sort
F = 1 + f1 + f1^2 + f1^3;
B f1;
Print +f;
.end
F =
f1^3 * ( 1 )
f1^2 * ( 1 )
f1 * ( 1 )
1;
I guess I better change the order in the bracket case. There is the danger that it breaks peoples programs. Alternatively I have to add the HAAKJE object to all brackets in the index and work from there. Maybe that is the better solution.
Cheers
Jos
On 13 jan. 2017, at 21:32, Takahiro Ueda notifications@github.com wrote:
Unfortunately, this issue has not been fixed yet.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vermaseren/form/issues/162#issuecomment-272540606, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLxEr9to6eRdTe_ih4-V_18Y1yBjm6aks5rR99SgaJpZM4LUKog.
B+
doesn't work well for functions andExpr[...]
often gives 0.gives
Using
B-
seems to be safe but can be considerably slow.