[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51779] bsxfun unit tests occasionally fail on

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51779] bsxfun unit tests occasionally fail on certain random inputs
Date: Mon, 31 Dec 2018 13:45:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #9, bug #51779 (project octave):

The original example in this bug report still fails with Octave 5.0.1:

>> x = [int32(-5) 0];
>> y = [single(-0.0226); 0];
>> assert (bsxfun (@power, y, x), power (y, x))
error: ASSERT errors for:  assert (bsxfun (@power, y, x),power (y, x))

  Location  |  Observed  |  Expected  |  Reason
   (1,1)      -169612453   -169612448    Abs err 5 exceeds tol 0 by 5

So the original issue is still present, that bsxfun treats operands
differently from unary ops with the same arguments.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]