Skip to content

Commit

Permalink
hotfix for get_pattern_twiss (#53)
Browse files Browse the repository at this point in the history
Starting with cpymad 1.9.0, Table.selected_rows() now actually returns the indices of the selected elements rather than returning a boolean mask.

The previous behavior had been worked around in get_pattern_twiss.
This PR removes the workaround and adapt to cpymad >= 1.9.0 which is now the minimum required version.
  • Loading branch information
fsoubelet committed Sep 7, 2021
1 parent 7ecaed4 commit 0c95013
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 71 deletions.
Loading

0 comments on commit 0c95013

Please sign in to comment.