9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] debugging help asked for
Date: Mon, 21 May 2007 14:36:09 +0100	[thread overview]
Message-ID: <4afbc685a37beabd845c2022ecf4bbf7@hamnavoe.com> (raw)
In-Reply-To: <ACCF003CBA3D09458207DB0CB86AD17D7402F5@XMAIL.asuch.cas.cz>

You're dividing by zero in pathd8/mpl.c:

      subtree_var[i] =  n->child[i]->var + n->edge_len[i];
      ...
      p_bar_numerator += subtree_est[i]/subtree_var[i];

because the terminal node 'Frog' has var and edge_len
both equal to zero.

Possibly gcc/linux reacts differently to division by zero?



  reply	other threads:[~2007-05-21 13:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-21 11:32 cej
2007-05-21 13:36 ` Richard Miller [this message]
2007-05-22 10:43 ` Charles Forsyth
2007-05-22 10:45   ` Charles Forsyth
2007-05-22 11:03     ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4afbc685a37beabd845c2022ecf4bbf7@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).