Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Select[ ] Woes

1 view
Skip to first unread message

Bruce Colletti

unread,
Nov 12, 2007, 5:17:26 AM11/12/07
to
Re 6.0.1 under WinXP.

What's wrong with the Select statement? x is clearly a list of positive rationals, yet none are returned. The fragment is extracted from larger code.

Thankx.

Bruce

...
Print@x;
Print@Select[x, # > 0 &];
...

{20400/12,25200/9,12000/6}

{}

0 new messages