From d365cc9e12b7515b956d81a954c4f6f400ada566 Mon Sep 17 00:00:00 2001 From: Samad Vakili Date: Tue, 9 Jun 2020 14:39:17 +0200 Subject: [PATCH] typo --- python/tests/test_mechanics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_mechanics.py b/python/tests/test_mechanics.py index ae3cb391e..10a36fbcc 100644 --- a/python/tests/test_mechanics.py +++ b/python/tests/test_mechanics.py @@ -163,7 +163,7 @@ class TestMechanics: t = ['V','U'][np.random.randint(0,2)] m = np.random.random()*10.0 -5.0 for i,v in enumerate(np.reshape(vectorized(F_vec,t,m),vectorized(F,t,m).shape)): - assert np.allcloase(single(F[i],t,m),v) + assert np.allclose(single(F[i],t,m),v) @pytest.mark.parametrize('function',[mechanics.Cauchy, mechanics.PK2,