From 2a45b2d5a032cbc7dededa356a03b8a3d81d6853 Mon Sep 17 00:00:00 2001 From: Noureldin Date: Wed, 13 Nov 2024 17:36:53 -0800 Subject: [PATCH] Update cirq-google/cirq_google/ops/internal_gate.py Co-authored-by: Pavol Juhas --- cirq-google/cirq_google/ops/internal_gate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cirq-google/cirq_google/ops/internal_gate.py b/cirq-google/cirq_google/ops/internal_gate.py index 8a45c08e2f1..55904901739 100644 --- a/cirq-google/cirq_google/ops/internal_gate.py +++ b/cirq-google/cirq_google/ops/internal_gate.py @@ -143,7 +143,7 @@ def encode_function( raise ValueError('The free variable must be sorted in increasing order') if len(y.shape) != 1: - raise ValueError('The independent variable must be one dimensional') + raise ValueError('The dependent variable must be one dimensional') if x.shape[0] != y.shape[0]: raise ValueError('Mismatch between number of points in x and y')