Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 authored and twiecki committed Sep 18, 2024
1 parent 47478e6 commit a180b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytensor/compile/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def __init__(
var_counts = {var: inputs.count(var) for var in inputs}
duplicated_inputs = [var for var, count in var_counts.items() if count > 1]
raise ValueError(
f"There following variables were provided more than once as inputs to the OpFromGraph, resulting in an "
f"The following variables were provided more than once as inputs to the OpFromGraph, resulting in an "
f"invalid graph: {duplicated_inputs}. Use dummy variables or var.copy() to distinguish "
f"variables when creating the OpFromGraph graph."
)
Expand Down

0 comments on commit a180b88

Please sign in to comment.