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

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

[Octave-bug-tracker] [bug #55587] splinefit.m BIST may fail, slightly ou


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55587] splinefit.m BIST may fail, slightly out of tolerance result
Date: Sun, 27 Jan 2019 16:01:09 -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

URL:
  <https://savannah.gnu.org/bugs/?55587>

                 Summary: splinefit.m BIST may fail, slightly out of tolerance
result
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Sun 27 Jan 2019 01:01:08 PM PST
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.90
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I've seen the splinefit.m test fail depending on the random values used in the
test:


***** test
 y = interp1 (xb, yb, x, "spline");
 assert (ppval (splinefit (x, y, xb, "order", 3), x), y, 15 * eps ());
!!!!! test failed
ASSERT errors for:  assert (ppval (splinefit (x, y, xb, "order", 3), x),y,15 *
eps ())

  Location  |  Observed  |  Expected  |  Reason
   (101)       0.84332      0.84332      Abs err 3.4417e-15 exceeds tol
3.3307e-15 by 1e-16
shared variables   scalar structure containing the fields:

    xb =

        0    2    4    6    8   10

    yb =

       0.76195  -0.60415  -0.95580   0.91181  -0.94831   0.84332

    x =
...


I guess that slightly increasing the tolerance from 15*eps to 20*eps would
help.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55587>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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