[Top][All Lists]

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

[Octave-bug-tracker] [bug #43097] if (object) should call if (logical(ob

From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #43097] if (object) should call if (logical(object))
Date: Thu, 29 Jan 2015 00:29:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #2, bug #43097 (project octave):

A similar example: subasgn into a double array:

x = sym(2)
y = [0 0]
y(1) = x
error: operator =: no conversion for assignment of 'class' to indexed
error: assignment failed, or no method for 'matrix = class'

This works fine in Matlab, which does y(1) = double(x) automatically.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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