Skip to content

Commit

Permalink
[Core] Fix typo in ray-dag doc example (ray-project#44198)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Qiao <[email protected]>
  • Loading branch information
ruisearch42 authored Mar 25, 2024
1 parent 27e355f commit c6f3735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/ray-core/doc_code/ray-dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ def c(x, y):
dag = c.bind(a_ref, b_ref)

# a(2) + b(2) = c
# (2 * 2) + (2 * 1)
# (2 * 2) + (2 + 1)
assert ray.get(dag.execute(2)) == 7

# a(3) + b(3) = c
# (3 * 2) + (3 * 1)
# (3 * 2) + (3 + 1)
assert ray.get(dag.execute(3)) == 10
# __dag_input_node_end__
# fmt: on
Expand Down

0 comments on commit c6f3735

Please sign in to comment.