     
     ASSERT_EQUAL(cusp::blas::dot(x, y), -21.0f);
     
-    ASSERT_EQUAL(cusp::blas::dot(view_x, view_y), -21.0f);
+    ASSERT_EQUAL(cusp::blas::dot(View(x), View(y)), -21.0f);
     
     // test size checking
     cusp::array1d<float, MemorySpace> w(3);

    typedef typename cusp::array1d<float, MemorySpace>::view View;

    Array x(6);
    View view_x(x);

    x[0] =  7.0f;
    x[1] =  5.0f;

    z[2] = 0.0f;
    z[3] = 0.0f;

    cusp::blas::axpby(View(x), View(y), View(z), 2.0f, 1.0f);
    
    ASSERT_EQUAL(z[0],  14.0);
    ASSERT_EQUAL(z[1],   8.0);
