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

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

[Octave-bug-tracker] [bug #52030] cplxpair returns incorrect result


From: Henk Borsje
Subject: [Octave-bug-tracker] [bug #52030] cplxpair returns incorrect result
Date: Fri, 15 Sep 2017 04:47:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0

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

                 Summary: cplxpair returns incorrect result
                 Project: GNU Octave
            Submitted by: hjborsje
            Submitted on: Fri 15 Sep 2017 08:47:39 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Henk Borsje
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

z = -1.0000e+000 + 1.2246e-016i
tol = 2.2204e-10
>> cplxpair(z,tol)


MATLAB returns -1, Octave stops with the error 

error: cplxpair: could not pair all complex numbers
error: called from
    cplxpair at line 114 column 9

This combination of arguments came up during the generation of a Butterworth
filter.

This seems to be a different bug from the tolerance incorrect units one, that
did get fixed.

Henk Borsje





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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