Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: a737b0e21dfe764d4bf98c92cb74c6177ebdf3fea6ae68a141f392ef3da1ab34
Ticket: 51c03aac1a45161ab6cc59afb69d1768175e054c
Error raised in mv-ols for what should be valid input
User & Date: anonymous 2017-09-28 22:33:10
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    ::math::statistics::mv-ols {{0 25125 128} {0 23224 64} {0 37903 512} {0 21263 32} {0 22053 64} {0 25745 256} {0 25745 256} {0 21557 32} {0 24935 128} {0 22904 64} {0 21422 32} {0 21947 32} {0 33244 512} {0 33244 512} {0 30060 512} {0 29691 256} {0 30439 256} {0 23724 128} {0 22541 64} {0 23640 128} {0 21422 32} {0 23640 128} {0 22249 64} {0 28247 512} {0 23333 32} {0 29841 256} {0 23959 128} {0 30819 512} {0 26333 256} {0 22145 32} {0 23863 128} {0 20772 32} {0 28511 512} {0 22425 64} {0 21598 32} {0 26335 256} {0 23816 128} {0 21157 32} {0 20973 32} {0 20973 32} {0 35125 512} {0 20679 32} {0 21241 64} {0 25297 256} {0 22301 32} {0 22007 32} {0 33351 512} {0 24115 128} {0 24115 128} {0 22301 32} {0 22797 64} {0 22593 64} {0 26439 256} {0 21255 32} {0 22645 32} {0 23447 128} {0 24205 64} {0 25051 128} {0 21007 32} {0 28237 256} {0 25546 128} {0 25669 256} {0 25669 256} {0 25669 256} {0 21977 64} {0 21977 64} {0 26187 128} {0 38360 512} {0 31846 256} {0 28349 256} {0 26450 128}}
    
    This dies with the following error message.  It seems to me that regression should work even if all y values are 0.  It's a pretty boring regression, but not worth failing over.  Maybe just needs a special case to handle this kind of input.
    
     domain error: argument not in valid range
        while executing
    "expr {double($ssreg)/$sstot}"
        (procedure "mv-wls" line 111)
        invoked from within
    "mv-wls $newdata"
        (procedure "::math::statistics::mv-ols" line 6)
        invoked from within
    "::math::statistics::mv-ols $data"
    
  5. foundin changed to: "1.18"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "edc79092ea3d48d084f7f8ca282b90c1120dedfe"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "math :: statistics"
  15. title changed to:
    Error raised in mv-ols for what should be valid input
    
  16. type changed to: "Bug"