Author: bugman Date: Thu Feb 7 13:53:32 2008 New Revision: 4936 URL: http://svn.gna.org/viewcvs/relax?rev=4936&view=rev Log: Bug fix for the generic_fns.structure.vectors() function. There was a problem with the new numpy arrays (which has no problems as Numeric arrays). Modified: 1.3/generic_fns/structure.py Modified: 1.3/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure.py?rev=4936&r1=4935&r2=4936&view=diff ============================================================================== --- 1.3/generic_fns/structure.py (original) +++ 1.3/generic_fns/structure.py Thu Feb 7 13:53:32 2008 @@ -1016,7 +1016,7 @@ vector = xh_vector(spin) # Set the vector. - if vector: + if vector != None: spin.xh_vect = vector