[Aldor-l] [Axiom-developer] Bug in parallel iteration

Gabriel Dos Reis gdr at cs.tamu.edu
Sun Nov 25 10:41:56 EST 2007


Martin Rubey <martin.rubey at univie.ac.at> writes:

| Dear all,
| 
| I just found a *very* annoying bug in axiom's handling of parallel iteration:
| 
| -------------------------------------------------------------------------------
| (1) -> [[i,j] for i in 1..10 | odd? i for j in 1..10]
| 
|    (1) [[1,1],[3,3],[5,5],[7,7],[9,9]]
| -------------------------------------------------------------------------------

[...]

| It seems that axiom applies the "such-that" clause to all iterators, rather
| than only to the iterator after which it comes.

That is what the documentation says, see the Axiom Book pages 127, 129.

You may want to lobby for changing a documented behaviour (thus
breaking codes written with that specification in mind), but I'm not
sure calling it  bug is an effective way to achieve that goal.

-- Gaby




More information about the Aldor-l mailing list