Author: bugman
Date: Mon Dec 22 09:19:13 2014
New Revision: 27150
URL: http://svn.gna.org/viewcvs/relax?rev=27150&view=rev
Log:
Fix for the Structure.test_atomic_fluctuations_parallax system test.
The distance shifts need to be numbers, not vectors.
Modified:
trunk/test_suite/system_tests/structure.py
Modified: trunk/test_suite/system_tests/structure.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/structure.py?rev=27150&r1=27149&r2=27150&view=diff
==============================================================================
--- trunk/test_suite/system_tests/structure.py (original)
+++ trunk/test_suite/system_tests/structure.py Mon Dec 22 09:19:13 2014
@@ -477,9 +477,9 @@
dot(vectors[2], unit) * unit
]
shift = [
- vectors[0] - proj[0],
- vectors[1] - proj[1],
- vectors[2] - proj[2]
+ norm(vectors[0] - proj[0]),
+ norm(vectors[1] - proj[1]),
+ norm(vectors[2] - proj[2])
]
# The fluctuations.
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits