Author: bugman Date: Fri Mar 12 11:55:46 2010 New Revision: 10984 URL: http://svn.gna.org/viewcvs/relax?rev=10984&view=rev Log: Bug fix for the generate_vector_dist() function. The limits function was being called even if not supplied! This change fixes that. Modified: 1.3/generic_fns/structure/geometric.py Modified: 1.3/generic_fns/structure/geometric.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/geometric.py?rev=10984&r1=10983&r2=10984&view=diff ============================================================================== --- 1.3/generic_fns/structure/geometric.py (original) +++ 1.3/generic_fns/structure/geometric.py Fri Mar 12 11:55:46 2010 @@ -740,7 +740,7 @@ print("%sj: %s; phi: %s" % (" "*4, j, phi[j])) # Skip the vector if the point is outside of the limits. - if not limit_check(phi[j], theta[i]): + if limit_check and not limit_check(phi[j], theta[i]): if debug: print("%sOut of cone." % (" "*8)) continue