[PD-dev] [ pure-data-Bugs-2468813 ] "expr~ divide by zero detected" under if condition

SourceForge.net noreply at sourceforge.net
Fri Dec 26 15:41:53 CET 2008


Bugs item #2468813, was opened at 2008-12-26 15:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2468813&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: v0.41.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Federico Ferri (federico__)
Assigned to: Nobody/Anonymous (nobody)
Summary: "expr~ divide by zero detected" under if condition

Initial Comment:
using an expr~ object like:

[expr~ if($v1==0, 1, sin($v1)/$v1)]
|
[*~]

it produces a message in the Pd console:

expr~ divide by zero detected


although this may be correct from an internals point of view, what I did is explicitly catching the divide-by-zero, and replace it with a constant value.
so, why the message?

in addition, the message gets repeated many times (perhaps this is the most annoying thing, but not the centre of the problem)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2468813&group_id=55736




More information about the Pd-dev mailing list