Skip to content

Commit

Permalink
Merge pull request #34 from ankushaggarwal/ross/fix_arbitrary_MatMode…
Browse files Browse the repository at this point in the history
…l_tests

Fixed random_F to be be the same for every test run
  • Loading branch information
ankushaggarwal authored Aug 21, 2024
2 parents cfbce81 + b6eb981 commit 1b9f41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_arbitrary_MatModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_combined_arbitrary_MatModel():
assert (mat.stress(random_F)-mat2.stress(random_F)) == pytest.approx(np.zeros((3,3)))

# Define a random deformation gradient
random_F = np.random.rand(3, 3)
random_F = np.array([[0.85862107, 0.91032637, 0.80119846], [0.16268142, 0.8596134, 0.17696991], [0.93450122, 0.30132757, 0.55042838]])

test_arbitrary_MatModel_I1()
test_arbitrary_MatModel_I2()
Expand Down

0 comments on commit 1b9f41d

Please sign in to comment.