octave-maintainers
[Top][All Lists]
Advanced

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

use of "()" with lists = seg fault


From: David Bateman
Subject: use of "()" with lists = seg fault
Date: Mon, 29 Dec 2003 17:38:39 +0100
User-agent: Mutt/1.3.28i

I know "()" is not for use with lists but I get the following with 2.1.52

  octave:1> a = list(1,2)
  warning: list objects are deprecated; use cell arrays instead
  a =
  (
    [1] = 1
    [2] = 2
  )
  octave:2> a(1)
  panic: Segmentation fault -- stopping myself...
  attempting to save variables to `octave-core'...
  warning: save: wrong type argument `list'
  save to `octave-core' complete
  Segmentation fault

Surely an error message would be better ;-)... I think there is probably a
missing subsref function for lists, though I haven't checked.

D.

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

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