diff --git a/wafo/misc.py b/wafo/misc.py index 15dc76e..a29c884 100644 --- a/wafo/misc.py +++ b/wafo/misc.py @@ -962,7 +962,8 @@ def findcross(x, v=0.0, kind=None, method='clib'): if xor(is_odd, kind in ('dw', 'uw')): ind = ind[:-1] else: - raise ValueError('Unknown wave/crossing definition! {}'.format(kind)) + raise ValueError('Unknown wave/crossing definition!' + ' ({})'.format(kind)) return ind