Skip to content

Commit

Permalink
remove occurences of missing leading 0, e.g. .01
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashergt committed Sep 27, 2024
1 parent 5675e25 commit a7b7fb5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/test_tension.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ def test_tension_stats_compatible_gaussian():
bounds = [[-1, 1], [0, 3], [0, 1]]

meanA = [0.1, 0.3, 0.5]
covA = np.array([[.01, 0.009, 0],
[0.009, .01, 0],
[0, 0, 0.1]])*0.01
covA = 0.01 * np.array([[0.010, 0.009, 0.0],
[0.009, 0.010, 0.0],
[0.000, 0.000, 0.1]])
logLmaxA = 0
samplesA = correlated_gaussian(nlive, meanA, covA, bounds, logLmaxA)

meanB = [0.1, 0.3, 0.5]
covB = np.array([[.01, -0.009, 0.01],
[-0.009, .01, -0.001],
[0.01, -0.001, 0.1]])*0.01
covB = 0.01 * np.array([[+0.010, -0.009, +0.010],
[-0.009, +0.010, -0.001],
[+0.010, -0.001, +0.100]])
logLmaxB = 0
samplesB = correlated_gaussian(nlive, meanB, covB, bounds, logLmaxB)

Expand Down Expand Up @@ -64,16 +64,16 @@ def test_tension_stats_incompatible_gaussian():
bounds = [[-1, 1], [0, 3], [0, 1]]

meanA = [0.1, 0.3, 0.5]
covA = np.array([[.01, 0.009, 0],
[0.009, .01, 0],
[0, 0, 0.1]])*0.01
covA = 0.01 * np.array([[0.010, 0.009, 0.0],
[0.009, 0.010, 0.0],
[0.000, 0.000, 0.1]])
logLmaxA = 0
samplesA = correlated_gaussian(nlive, meanA, covA, bounds, logLmaxA)

meanB = [0.15, 0.25, 0.45]
covB = np.array([[.01, -0.009, 0.01],
[-0.009, .01, -0.001],
[0.01, -0.001, 0.1]])*0.01
covB = 0.01 * np.array([[+0.010, -0.009, +0.010],
[-0.009, +0.010, -0.001],
[+0.010, -0.001, +0.100]])
logLmaxB = 0
samplesB = correlated_gaussian(nlive, meanB, covB, bounds, logLmaxB)

Expand Down

0 comments on commit a7b7fb5

Please sign in to comment.