[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug? in create_set
From: |
Ross A. Lippert |
Subject: |
bug? in create_set |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug? in create_set,
Ross A. Lippert <=