tfixed diagnostics - sphere - GPU-based 3D discrete element method algorithm wi… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 7111bba6f711055826d031e25d69b12ad8e5d4bd | |
parent 4de2ec1b49c4412169d419cf33b2a39f79ed9047 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 18 Jun 2014 09:04:16 +0200 | |
fixed diagnostics | |
Diffstat: | |
M tests/pytestutils.py | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/tests/pytestutils.py b/tests/pytestutils.py | |
t@@ -52,11 +52,11 @@ def compareNumpyArraysClose(first, second, string, toleran… | |
print(string + passed()) | |
else : | |
print(string + failed()) | |
- print(numpy.min(first.v_f)) | |
- print(numpy.mean(first.v_f)) | |
- print(numpy.max(first.v_f)) | |
- print(numpy.min(second.v_f)) | |
- print(numpy.mean(second.v_f)) | |
- print(numpy.max(second.v_f)) | |
+ print(numpy.min(first)) | |
+ print(numpy.mean(first)) | |
+ print(numpy.max(first)) | |
+ print(numpy.min(second)) | |
+ print(numpy.mean(second)) | |
+ print(numpy.max(second)) | |
raise Exception("Failed") | |
return(1) |