master
pbrod 9 years ago
parent e17d08fa61
commit 31b61e2117

@ -962,7 +962,8 @@ def findcross(x, v=0.0, kind=None, method='clib'):
if xor(is_odd, kind in ('dw', 'uw')): if xor(is_odd, kind in ('dw', 'uw')):
ind = ind[:-1] ind = ind[:-1]
else: else:
raise ValueError('Unknown wave/crossing definition! {}'.format(kind)) raise ValueError('Unknown wave/crossing definition!'
' ({})'.format(kind))
return ind return ind

Loading…
Cancel
Save