Skip to content

Commit

Permalink
Increase the number of digits
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianDepriester committed Jan 14, 2025
1 parent 1828b88 commit 8e0de7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_StiffnessTensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_averages(self):
averages = [S.Voigt_average(), S.Reuss_average(), S.Hill_average()]
E_mean_th = [151.738, 75.76, 114.45]
G_mean_th = [55.653, 26.596, 41.124]
nu_mean_th = [0.36325, 0.4242, 0.3915]
nu_mean_th = [0.36325, 0.42424242, 0.3915]
for i, average in enumerate(averages):
assert approx(average.Young_modulus.mean(), rel=1e-4) == E_mean_th[i]
assert approx(average.shear_modulus.mean(), rel=1e-4) == G_mean_th[i]
Expand Down

0 comments on commit 8e0de7a

Please sign in to comment.