Skip to content

Commit

Permalink
Convert slice to list.
Browse files Browse the repository at this point in the history
  • Loading branch information
janvonrickenbach committed Apr 4, 2024
1 parent 83b9e51 commit 872439a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/filter_layered_data_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def test_filter_by_global_ply(dpf_server):
component = 0
value = strain_data[selected_indices][:, component]

local_result_field.append(value, element_id)
local_result_field.append(list(value), element_id)

# Ply is only present in element 1 and 2
assert list(result_field.scoping.ids) == [1, 2]
Expand Down

0 comments on commit 872439a

Please sign in to comment.