Unverified Commit 573889d8 authored by Stephan Rave's avatar Stephan Rave Committed by GitHub
Browse files

Update src/pymor/analyticalproblems/expressions.py

parent dc85776e
Pipeline #102005 passed with stages
in 83 minutes and 12 seconds
......@@ -444,4 +444,4 @@ _numpy_functions = {k: getattr(np, k) for k in {'sin', 'cos', 'tan', 'arcsin', '
'array', 'broadcast_arrays', 'newaxis'}}
_numpy_functions['norm'] = np.linalg.norm
_numpy_functions['angle'] = lambda x: np.arctan2(x[..., 1], x[..., 0]) % (2*np.pi)
_numpy_functions['angle'] = lambda x: np.arctan2(x[..., 1], x[..., 0]) % (2*np.pi) # np.angle uses different convention
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment