| |
@@ -0,0 +1,22 @@
|
| |
+ diff --git a/testsuite/python/observable_profile.py b/testsuite/python/observable_profile.py
|
| |
+ index 969244918..0a7b7eaff 100644
|
| |
+ --- a/testsuite/python/observable_profile.py
|
| |
+ +++ b/testsuite/python/observable_profile.py
|
| |
+ @@ -52,5 +52,5 @@ class ProfileObservablesTest(ut.TestCase):
|
| |
+ np_hist, np_edges = tests_common.get_histogram(
|
| |
+ np.copy(self.system.part.all().pos), self.kwargs, 'cartesian',
|
| |
+ - normed=True)
|
| |
+ + density=True)
|
| |
+ np_hist *= len(self.system.part)
|
| |
+ np.testing.assert_array_almost_equal(obs_data, np_hist)
|
| |
+ diff --git a/testsuite/python/observable_profileLB.py b/testsuite/python/observable_profileLB.py
|
| |
+ index 4a3527035..6770cea8e 100644
|
| |
+ --- a/testsuite/python/observable_profileLB.py
|
| |
+ +++ b/testsuite/python/observable_profileLB.py
|
| |
+ @@ -92,5 +92,5 @@ class ObservableProfileLBCommon:
|
| |
+ _, np_edges = tests_common.get_histogram(
|
| |
+ np.zeros([1, 3]), LB_VELOCITY_PROFILE_PARAMS, 'cartesian',
|
| |
+ - normed=True)
|
| |
+ + density=True)
|
| |
+ for i in range(3):
|
| |
+ np.testing.assert_array_almost_equal(obs_edges[i], np_edges[i])
|
| |