Tcl Library Source Code

View Ticket
Login
Ticket UUID: 0a030f850d4e3fc05da98aa954a6ec1b16e655d9
Title: math::stat mean value round off
Type: Bug Version:
Submitter: anonymous Created on: 2018-08-02 12:33:43
Subsystem: math Assigned To: arjenmarkus
Priority: 5 Medium Severity: Severe
Status: Closed Last Modified: 2019-04-18 18:53:21
Resolution: Fixed Closed By: arjenmarkus
    Closed on: 2019-04-18 18:53:21
Description:
When using the math::stats function the mean value is calculated as integer instead of double. In the function the typecast to double is missing when calculating the mean value.
User Comments: arjenmarkus added on 2019-04-18 18:53:21:
Added double() to the calculation of the mean and the standard deviation.