tfixed diagnostics - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 7111bba6f711055826d031e25d69b12ad8e5d4bd
(DIR) parent 4de2ec1b49c4412169d419cf33b2a39f79ed9047
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 18 Jun 2014 09:04:16 +0200
fixed diagnostics
Diffstat:
M tests/pytestutils.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
(DIR) diff --git a/tests/pytestutils.py b/tests/pytestutils.py
t@@ -52,11 +52,11 @@ def compareNumpyArraysClose(first, second, string, tolerance=1e-5):
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)