[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct |
Date: |
Mon, 22 May 2017 13:16:42 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #9, bug #39041 (project octave):
This hack fixes the issue for me, but like I said I am not sure what the
intent of this flag is to begin with, it seems like an arcane corner case that
it is trying to address
diff --git a/libinterp/parse-tree/pt-tm-const.cc
b/libinterp/parse-tree/pt-tm-const.cc
--- a/libinterp/parse-tree/pt-tm-const.cc
+++ b/libinterp/parse-tree/pt-tm-const.cc
@@ -77,7 +77,7 @@ namespace octave
if (first_elem)
{
if (val.is_map ())
- first_elem_is_struct = true;
+ first_elem_is_struct = false;
first_elem = false;
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39041>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Rik, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Rik, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct,
Mike Miller <=
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Rik, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Rik, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22
- [Octave-bug-tracker] [bug #39041] concatenation of cell array and scalar struct, Mike Miller, 2017/05/22