Overview
| Artifact ID: | bb245ca9322a005c2ab3515d71b25928f5b3b20a |
|---|---|
| Ticket: | 1203389fffffffffffffffffffffffffffffffff
"divide by zero" in ::math::statistics::linear-model |
| User & Date: | tenolohi on 2005-05-17 08:34:52 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
In version 0.1.2 of math::statistics library, function linear- model crashes with "divide by zero" error message if all independent data are the same. There is a check in the code like this: if { $sumx2 == 0.0 } { return -code error -errorcode ARG "$TOOFEWDATA: independent values are all the same" } , but this is not correct. Instead the condition should probably be if { $sx == 0.0 } which is calculated on the next line after the check. - foundin changed to: "obsolete: 8.4.9"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "tenolohi"
- subsystem changed to: "17. Commands I-L"
- title changed to:
"divide by zero" in ::math::statistics::linear-model
- type changed to: "Bug"