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

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

[Octave-bug-tracker] [bug #56167] pseudocode [ { [](0x1) [](0x1) [](0x1)


From: SillyMon
Subject: [Octave-bug-tracker] [bug #56167] pseudocode [ { [](0x1) [](0x1) [](0x1) 1 }{}, 1 ] fails, [ 1 , { [](0x1) [](0x1) 1 }{}, 1 ] works
Date: Thu, 18 Apr 2019 21:41:09 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; rv:66.0) Gecko/20100101 Firefox/66.0

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

                 Summary: pseudocode  [ { [](0x1) [](0x1) [](0x1) 1 }{}, 1 ]
fails,  [ 1 ,{ [](0x1) [](0x1) 1 }{}, 1 ] works
                 Project: GNU Octave
            Submitted by: sillymon
            Submitted on: Fri 19 Apr 2019 01:41:08 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

+verbatime+
tmp{1} = 1;
tmp{2} = ones(3)(logical(zeros(3)));
tmp{3} = ones(3)(logical(zeros(3)));
tmp{4} = 1;
[tmp{}]
tmp{1} = ones(3)(logical(zeros(3)));
[tmp{}]
-verbatime-

The last move of values in tmp to an array gives
error: horizontal dimensions mismatch (0x2 vs 1x1)

there is no problem with only one [](0x1).

I am not sure if this is interpreter material or something else




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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