Update domain of function definition to match inner product.