Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading