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

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

[Octave-bug-tracker] [bug #33792] quadl test failure on default branch


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #33792] quadl test failure on default branch
Date: Mon, 18 Jul 2011 11:37:01 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30

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

                 Summary: quadl test failure on default branch
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Mon 18 Jul 2011 07:37:00 AM EDT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

"make check" on the default branch gives ....


  ***** assert ( quadl (@(x) sin (2 + 3*x).^2, 0, 10, 0.3, []),
        (60 + sin(4) - sin(64))/12, -0.3)
!!!!! test failed
assert (quadl (@(x) sin (2 + 3 * x) .^ 2, 0, 10, 0.3, []),(60 + sin (4) - sin
(64)) / 12,-0.3) expected
 4.8603
but got
 8.1963
maximum relative error 0.686392 exceeds tolerance 0.3


I get the same result with the stable branch (although the test does not part
of quadl)

Matlab passes, so I assume the test is correct, but there is some problem with
quadl.


>> [quadl(@(x) sin (2 + 3*x).^2, 0, 10, 0.3, []),
        (60 + sin(4) - sin(64))/12]

ans =

   4.859710511212103
   4.860264288874607


Ben





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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