help-octave
[Top][All Lists]
Advanced

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

Bug with struct, setfield


From: Jacob Eggers
Subject: Bug with struct, setfield
Date: Tue, 22 May 2012 08:58:34 -0700

Has anyone else seen this bug with setfield? It seems to work properly, but when I check if the field is set with isfield, it does not work.

I'm using the brew install of GNU Octave, version 3.6.1


octave> s = struct()
s =
  scalar structure containing the fields:

octave> setfield(s, 'f1', 1)
ans =
  scalar structure containing the fields:
    f1 =  1
octave> isfield(s, 'f1')
ans = 0


reply via email to

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