octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #51981] [octave forge] (image) Failing unit te


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #51981] [octave forge] (image) Failing unit test for otf2psf
Date: Sun, 10 Sep 2017 11:54:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?51981>

                 Summary: [octave forge] (image) Failing unit test for otf2psf
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Sun 10 Sep 2017 03:54:21 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: Any

    _______________________________________________________

Details:

The following unit test for function otf2psf in package image is failing
randomly:


%!test
%! psf = rand (16);
%! otf = psf2otf (psf);
%! assert (otf2psf (otf), psf, 2*eps);


This is a way of triggering the bug:


octave:1> pkg load image
octave:2> while 1
octave:3>   psf = rand (16);
octave:4>   otf = psf2otf (psf);
octave:5>   assert (otf2psf (otf), psf, 2*eps);
octave:6> endwhile
error: ASSERT errors for:  assert (otf2psf (otf),psf,2 * eps)

  Location  |  Observed  |  Expected  |  Reason
   (7,2)       0.89533      0.89533      Abs err 5.5511e-16 exceeds tol
4.4409e-16






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51981>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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