Opened 7 years ago

Last modified 4 years ago

#17812 new defect

dojox/math median

Reported by: Martin Marko Owned by:
Priority: undecided Milestone: 1.14
Component: Dojox Version: 1.9.3
Keywords: Cc:
Blocked By: Blocking:


function median(t){

t.assertEqual(12, dojox.math.stats.median(a3)); old t.assertEqual(2, dojox.math.stats.median([1,2,3])); new


I hope median of [1,2,3] shall be 2 ? median of [1,2,3,4] small be 2.5 ?

jus added extra line into your tescase and it fails. Please explain

see also:

Change History (4)

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.12

comment:2 Changed 5 years ago by Martin Marko

Any news on this ?

comment:3 Changed 5 years ago by dylan

Unfortunately I've had no time to look into this, and it doesn't look like anyone else has either.

I'd be happy to quickly review a PR if you have time to track it down.

comment:4 Changed 4 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.