D 2005-05-17T08:34:52 J assignee dkf J cmimetype text/plain J comment In\sversion\s0.1.2\sof\smath::statistics\slibrary,\sfunction\slinear-\nmodel\scrashes\swith\s"divide\sby\szero"\serror\smessage\sif\sall\s\nindependent\sdata\sare\sthe\ssame.\sThere\sis\sa\scheck\sin\sthe\s\ncode\slike\sthis:\n\nif\s{\s$sumx2\s==\s0.0\s}\s{\n\s\s\s\s\s\sreturn\s-code\serror\s-errorcode\s\nARG\s"$TOOFEWDATA:\sindependent\svalues\sare\sall\sthe\s\nsame"\n}\n\n,\sbut\sthis\sis\snot\scorrect.\sInstead\sthe\scondition\sshould\s\nprobably\sbe\sif\s{\s$sx\s==\s0.0\s}\swhich\sis\scalculated\son\sthe\s\nnext\sline\safter\sthe\scheck. J foundin obsolete:\s8.4.9 J priority 5\sMedium J resolution None J status Open J submitter tenolohi J subsystem 17.\sCommands\sI-L J title "divide\sby\szero"\sin\s::math::statistics::linear-model\s J type Bug K 1203389fffffffffffffffffffffffffffffffff U tenolohi Z b9eef76f7965802c312dcac3e1c89357