Small problem with the value of niceindicespref after running the testsuite
Subject: Small problem with the value of niceindicespref after running the testsuite
From: Dieter Kaiser
Date: Mon, 1 Dec 2008 01:02:43 +0100
After a run of the testsuite the value is of niceindicespref is no longer
[i,j,k,l,m,n] but has the value [888,j,k,l,m,n]. When you start a second run of
the testsuite you can observe this error too.
When you later would like to use the function niceindices you can get a system
hang or very strange results.
The reason is that within the testsuite the value of niceindecespref is restored
with reset(niceindicespref). But at this point of the file the symbol i has the
value 888 which is inserted in the list.
To get the correct list for niceindicespref we have first to kill the value of
the symbol i. Then it works and niceindicespref has again the correct default
value.
Perhaps it might be even better to explicitly set the value of niceindicespref
to the default value with niceindicespref:['i,'j,'k,'k,'l,'m,'n], because
someone else might give one of the symbols a value and the list of symbols would
be again destroyed.
Dieter Kaiser