Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 19 Apr 2011 10:20:01 -0500 From: Jason S Newsgroups: comp.lang.java.programmer Date: Tue, 19 Apr 2011 11:20:01 -0400 Message-ID: <2011041911200138175-jasonsavlov@mecom> References: <201104182005433244-jasonsavlov@mecom> <2011041911160346799-jasonsavlov@mecom> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Double always returning 0.0 User-Agent: Unison/2.1.4 Lines: 14 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-8kMxvHGYf+kmGZrjV80Hy3oidX+xID7W7W7z5Tu+aLIqRS7Su6oLkjRBOPI0XxRxFWMjHONoAcqKgUa!0jHbjELv3qfzDZGGeWMO9UX8Z7B6H8+0P1ufAn4HjZ3+dK9GGco73bt27bx823Ek+Zs= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1440 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3136 On 2011-04-19 11:18:10 -0400, Lew said: > Jason S wrote: >> Yup, that was the problem. Got it working! (Sort of...) The weight for the cat >> keeps turning up as 0.000. > > What does your code look like now? http://web.cs.sunyit.edu/~savlovj/CS249/pg472_8 The code is there in full -- Jason