Skip to content
Snippets Groups Projects
Commit 56c2c7ee authored by Markus Holzer's avatar Markus Holzer
Browse files

Try to fix windows pipeline

parent a9b32f58
No related branches found
No related tags found
1 merge request!118Cassons
...@@ -91,7 +91,7 @@ def test_advanced_initialization(): ...@@ -91,7 +91,7 @@ def test_advanced_initialization():
init_vel[:, height // 3: height // 3 * 2, 0] = -velocity_magnitude init_vel[:, height // 3: height // 3 * 2, 0] = -velocity_magnitude
# small random y velocity component # small random y velocity component
init_vel[:, :, 1] = 0.1 * velocity_magnitude * np.random.rand(width, height) init_vel[:, :, 1] = 0.1 * velocity_magnitude * np.random.rand(width, height)
shear_flow_scenario = create_fully_periodic_flow(initial_velocity=init_vel, relaxation_rate=1.95) shear_flow_scenario = create_fully_periodic_flow(initial_velocity=init_vel, relaxation_rate=1.99)
with pytest.raises(ValueError) as e: with pytest.raises(ValueError) as e:
shear_flow_scenario.run_iterative_initialization(max_steps=20000, check_residuum_after=500) shear_flow_scenario.run_iterative_initialization(max_steps=20000, check_residuum_after=500)
assert 'did not converge' in str(e.value) assert 'did not converge' in str(e.value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment