#1 max and min reversed in functions/statistics.c

closed
nobody
None
5
2003-07-29
2003-01-27
Anonymous
No

max(array([1,3,5]) returns 1,
min(array([1,3,5])) returns 5

look at line 573 of functions.c, it reads

{"max", STATMOD_FUNC_EXT(statistics_min,)...

this is FYI, since it's easy to work around
thanks for a great package.

Dave Tanzer
tanzer@cs.nyu.edu

Discussion

  • Pierre Schnizer

    Pierre Schnizer - 2003-07-29

    Logged In: YES
    user_id=670126

    Fixed in release 0.1b

     
  • Pierre Schnizer

    Pierre Schnizer - 2003-07-29
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks