Commit 76d4a056 authored by Rémi's avatar Rémi
Browse files

Fix AdderGraph()

parent 337f8116
name = "AdderGraphs"
uuid = "818587fb-0c22-4279-a2b9-8b16b5360b71"
version = "0.2.2"
version = "0.2.3"
......@@ -41,17 +41,16 @@ function AdderGraph(c::Vector{AdderNode}, v::Vector{Int})
return AdderGraph(origin_addernode(), c, v, false, 0.0, false, false)
end
function AdderGraph()
return AdderGraph(origin_addernode(), Vector{AdderNode}(), Vector{Int}())
return AdderGraph(Vector{AdderNode}(), Vector{Int}())
end
function AdderGraph(v::Vector{Int})
return AdderGraph(origin_addernode(), Vector{AdderNode}(), v)
return AdderGraph(Vector{AdderNode}(), v)
end
function AdderGraph(c::Vector{AdderNode})
return AdderGraph(origin_addernode(), c, Vector{Int}())
return AdderGraph(c, Vector{Int}())
end
export AdderGraph
export AdderNode
export InputEdge
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment