Classification with gaussian process

What happens if you replace squared_distance(x[i], y[i]) with pow((x[i]-y[i]),2)?

i get No matches for: pow(vector, int)

Here: example-model ARCH(1).