The source project of this merge request has been removed.
Fix Numba nopython mode
Declare compute_distance before compute_angle.
- compute_angle fails in nopython mode since it can't infer anything about the global compute_distance name
- this is solved by a simple reordering
Fixes (normally only a warning is shown, forced the error via nopython=True)
TypingError: Failed at nopython (nopython frontend)
Untyped global name 'compute_distance': cannot determine Numba type of <class 'object'>
File "../miniconda3/lib/python3.6/site-packages/pyframe/utils.py", line 134
Edited by Jógvan Magnus Haugaard Olsen