[Kst] [Bug 151001] New: vector entered from JavaScript does not have statistics calculated correctly

Andrew Walker arwalker at sumusltd.com
Thu Oct 18 21:58:05 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=151001         
           Summary: vector entered from JavaScript does not have statistics
                    calculated correctly
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: arwalker sumusltd com


Version:           1.6.0 (using KDE KDE 3.5.3)
OS:                Linux

The following JavaScript code:

v = new Vector();
v.resize(3);
v[0] = 0;
v]1] = 2;
v[2] = 3;
v.mean

gives:
NaN


More information about the Kst mailing list