[Top][All Lists]

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

[Octave-bug-tracker] [bug #53767] error in calling linkaxes

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53767] error in calling linkaxes
Date: Fri, 27 Apr 2018 12:38:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Update of bug #53767 (project octave):

                  Status:                    None => Confirmed              


Follow-up Comment #1:

The error occurs at the following line in linkprop (with

81        ## Add listeners to all objects
82        for i = 1 : numel (h)
83          for j = 1 : numel (prop)
84-->         addlistener (h(i), prop{j},
85                         address@hidden, [h(1:i-1), h(i+1:end)], prop{j}});
86          endfor
87        endfor

The error occurs at the horizontal concatenation of h(1:i-1) with h(i+1:end).
And the problem is that h has been reshaped above somewhere to be a column
vector, but here is an attempt to concatenate its parts as a row vector.

So because it's skipping over h(i), this error will only be seen when h
contains more than 3 axes references.

The difference from 4.2 is the reshaping of h into a column vector. If that
was done for a reason, then this concatenation needs fixing up.


Reply to this item at:


  Message sent via Savannah

reply via email to

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