Skip to content

Commit

Permalink
Fix type contraint in Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Oct 25, 2023
1 parent 755b9d6 commit ae61b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SimpleWorkflows.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract type AbstractWorkflow end
# Create a `Workflow` from a list of `AbstractJob`s and a graph representing their relations.
struct Workflow{T} <: AbstractWorkflow
jobs::Vector{T}
graph::DiGraph{Int64}
graph::DiGraph{Int}
function Workflow{T}(jobs, graph) where {T}
@assert !is_cyclic(graph) "`graph` must be acyclic!"
@assert is_directed(graph) "`graph` must be directed!"
Expand Down

0 comments on commit ae61b42

Please sign in to comment.