Skip to content

Commit

Permalink
fix: add ring_rod_falg to construct_memory_block test
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-cui committed Sep 7, 2023
1 parent c6aeb21 commit c4f7048
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_modules/test_memory_block_cosserat_rod.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ def test_construct_memory_block_structures_for_cosserat_rod(n_rods):
"""

systems = [BaseRodForTesting(np.random.randint(10, 30 + 1)) for _ in range(n_rods)]
systems = [
BaseRodForTesting(np.random.randint(10, 30 + 1), ring_rod_flag=False)
for _ in range(n_rods)
]

memory_block_list = construct_memory_block_structures(systems)

Expand Down

0 comments on commit c4f7048

Please sign in to comment.