Skip to content

Commit a180b88

Browse files
ricardoV94twiecki
authored andcommitted
Fix typo in error message
1 parent 47478e6 commit a180b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/compile/builders.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def __init__(
355355
var_counts = {var: inputs.count(var) for var in inputs}
356356
duplicated_inputs = [var for var, count in var_counts.items() if count > 1]
357357
raise ValueError(
358-
f"There following variables were provided more than once as inputs to the OpFromGraph, resulting in an "
358+
f"The following variables were provided more than once as inputs to the OpFromGraph, resulting in an "
359359
f"invalid graph: {duplicated_inputs}. Use dummy variables or var.copy() to distinguish "
360360
f"variables when creating the OpFromGraph graph."
361361
)

0 commit comments

Comments
 (0)