Question: Is this a bug in randperm?

I have the following Maple worksheet:

restart;
randomize();

select1 := combinat[randperm]([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);

Because of the "randomize" function, each time I execute this worksheet I should expect a different output. However, the real output is always the same every time. Is this a bug in combinat[randperm]() or am I missing something?

Attached file: randperm1.mw

Please Wait...