From octave-maintainers-request at bevo dot che dot wisc dot edu Thu Aug 3 08:24:54 2000 Subject: bug? in create_set From: "Ross A. Lippert" To: "octave-maintainers at bevo dot che dot wisc dot edu" Date: Thu, 03 Aug 2000 07:18:54 -0600 > create_set([1 1]) issues an "empty matrix found" warning. This is in 2.1.31, but not in 2.0.14 which used a different implementation of create_set. The source of the problem is the line y = y( [1, find (y(1:nelx-1) != y(2:nelx)) +1]); I'm wondering if that could be replaced with y = y ( find( y != [NaN y(2:nelx)] ) ); or would that be too much of a hack? -r