Skip to content

Commit

Permalink
Merge branch 'issue-185' into 'main'
Browse files Browse the repository at this point in the history
Fix interpolator 2D test if KOKKOS_TOOLS_LIBS is set

Closes #185

See merge request gysela-developpers/gyselalibxx!597
  • Loading branch information
EmilyBourne committed Jul 25, 2024
1 parent 5cb4661 commit 529bda8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def take_names_from_out(var_out):
"""
out_lines = var_out.split('\n')
out_words = [l.split(' ') for l in out_lines[:]]
degree = int(out_words[0][7])
out_words_flat = [w for l in out_words for w in l]
degree = int(out_words_flat[out_words_flat.index("degree") + 1])
names = [l[7] for l in out_words[14+degree:] if len(l)>=7 and l[3] == "Test"]
return degree, names

Expand Down

0 comments on commit 529bda8

Please sign in to comment.