Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
NoureldinYosri committed Nov 8, 2024
1 parent 52e6aea commit a8b0883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq-google/cirq_google/ops/internal_gate_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_internal_gate_with_custom_function_repr():
original_func = lambda x: x**2
x = np.linspace(-1, 1, 10)
y = original_func(x)
encoded_func = internal_gate.encode_1dfunction(x=x, y=y, method='interp')
encoded_func = internal_gate.encode_function(x=x, y=y, method='interp')

gate = internal_gate.InternalGate(
gate_name='GateWithFunction',
Expand Down

0 comments on commit a8b0883

Please sign in to comment.