Skip to content

Commit

Permalink
removed dynamics as it is not required for RelaxDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
kzqureshi committed Feb 27, 2024
1 parent d40247f commit 9960867
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions micromagnetictests/calculatortests/relaxdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,3 @@ def test_check_for_energy_and_dynamics(calculator):

with pytest.raises(RuntimeError, match="System's energy is not defined"):
md.drive(system)

system.dynamics = 0

with pytest.raises(RuntimeError, match="System's dynamics is not defined"):
md.drive(system)

0 comments on commit 9960867

Please sign in to comment.