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

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

[Octave-bug-tracker] [bug #33864] Test fail in null.m (dev. MinGW)


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #33864] Test fail in null.m (dev. MinGW)
Date: Tue, 26 Jul 2011 04:36:40 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30

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

                 Summary: Test fail in null.m (dev. MinGW)
                 Project: GNU Octave
            Submitted by: tmacchant
            Submitted on: 2011年07月26日 04時36分39秒
                Category: Interpreter
                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: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hello

I have encountered the fail in null.m test,


  ***** test
 A = [1 1; 0 0];
 assert(null(A), [-1/sqrt(2) 1/sqrt(2)]')
!!!!! test failed
assert (null (A),[-1 / sqrt(2), 1 / sqrt(2)]') expected
  -0.70711
   0.70711
but got
  -0.70711
   0.70711
values do not match


However,

octave:13>  null(A)- [-1/sqrt(2) 1/sqrt(2)]
ans =

  -1.11022302462516e-016
  1.11022302462516e-016

so that test might be 


assert(null(A), [-1/sqrt(2) 1/sqrt(2)]',1e-15);


Regards

Tatsuro





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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