omnumba.py#
Optionally import numba and provide a dummy jit decorator if it is not available.
If numba is not available, this module provides a dummy jit decorator that simply returns the original function.
- openmdao.utils.omnumba.jit(f, *args, **kwargs)[source]
Return original function.
- Parameters:
- ffunction
The function to be decorated.