def test_array_to_array(self):
        @njit("f8(f8[:])")
        def inner(x):
            return x[0]

        inner.disable_compile()

        @njit("f8(f8[::1])")
        def driver(x):
            return inner(x)

        x = np.array([1234], dtype=np.float64)
        self.assertEqual(driver(x), x[0])
        self.assertEqual(len(inner.overloads), 1)
Project this vector to its local residual space defined by the coarse codes.
dataset/ETHPy150Open numba/numba/numba/tests/test_casting.py/TestCasting.test_array_to_array--crossover with--dataset/ETHPy150Open yahoo/lopq/python/lopq/model.py/LOPQModel.project