'Test NumPy 1D arrays as constants.'

def test_1D_array(self):

    c = np.array([1, 2])
    p = Parameter(2)
    p.value = [1, 1]
    self.assertEqual((c * p).value, 3)
    self.assertEqual((c * self.x).size, (1, 1))
    self.x.save_value(np.array([1, 4]))
    self.assertEqual((c.T * self.x).value, 9)
