Changeset 10480:03646b57cb15 in orange
 Timestamp:
 03/09/12 10:54:46 (2 years ago)
 Branch:
 default
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Orange/projection/linear.py
r10479 r10480 992 992 993 993 # test if all values are 0, if there is an invalid number in the array and if there are complex numbers in the array 994 if ( type(vectors) == type(None)or not vectors.any() or994 if (vectors is None or not vectors.any() or 995 995 False in numpy.isfinite(vectors) or False in numpy.isreal(vectors)): 996 996 self.set_statusbar_text("Unable to compute anchor positions for the selected attributes")
Note: See TracChangeset
for help on using the changeset viewer.