Skip to content

Commit 71f0f0d

Browse files
committed
fix tutorial
1 parent ac2c69f commit 71f0f0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/tutorials/warcraft.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ train_dataset, test_dataset = dataset[1:45], dataset[46:50]
2525
sample = test_dataset[1]
2626
# `x` correspond to the input features, i.e. the input image (3D array) in the Warcraft benchmark case:
2727
x = sample.x
28-
# `θ` correspond to the true unknown terrain weights. We use the opposite of the true weights in order to formulate the optimization problem as a maximization problem:
29-
θ_true = sample.θ
30-
# `y` correspond to the optimal shortest path, encoded as a binary matrix:
31-
y_true = sample.y
28+
# `θ_true` correspond to the true unknown terrain weights. We use the opposite of the true weights in order to formulate the optimization problem as a maximization problem:
29+
θ_true = sample.θ_true
30+
# `y_true` correspond to the optimal shortest path, encoded as a binary matrix:
31+
y_true = sample.y_true
3232
# `instance` is not used in this benchmark, therefore set to nothing:
3333
isnothing(sample.instance)
3434

0 commit comments

Comments
 (0)