Skip to content

Commit 782c777

Browse files
committed
(#2) Fix examples in documentation of Johnsons Rule module
1 parent dd75fff commit 782c777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/johnsons.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ times = Float64[
8686
7.0 4.0
8787
]
8888
89-
result = johnsons_ga(times)
89+
result = johnsons_ga(JohnsonProblem(times))
9090
9191
println(result.permutation)
9292
```
@@ -128,7 +128,7 @@ The function throws a JohnsonException if the problem cannot be reduced to a 2-m
128128
129129
# Arguments
130130
131-
- `times::Matrix`: a matrix of times
131+
- `problem::JohnsonProblem`: a problem containing a matrix of times
132132
133133
# Returns
134134

0 commit comments

Comments
 (0)