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

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

[Octave-bug-tracker] [bug #42528] textscan: complex numbers are incorrec


From: sergey plotnikov
Subject: [Octave-bug-tracker] [bug #42528] textscan: complex numbers are incorrectly processed when format is empty
Date: Mon, 09 Jun 2014 09:57:08 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

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

                 Summary: textscan: complex numbers are incorrectly processed
when format is empty
                 Project: GNU Octave
            Submitted by: nul0m
            Submitted on: Mon 09 Jun 2014 09:57:07 AM GMT
                Category: Octave Function
                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: GNU/Linux

    _______________________________________________________

Details:

Transpose at around line 332 of textscan.m transforms complex numbers to their
complex conjugates, which may cause weird results (see below).


>> textscan('1i')
ans =
{
  [1,1] =  0 + 1i
}
>> textscan('1i','')
ans =
{
  [1,1] =  0 - 1i
}





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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