Commit 337f8116 authored by Rémi's avatar Rémi
Browse files

Fix AdderGraph()

parent bb44ce0d
name = "AdderGraphs"
uuid = "818587fb-0c22-4279-a2b9-8b16b5360b71"
version = "0.2.1"
version = "0.2.2"
......@@ -37,18 +37,17 @@ mutable struct AdderGraph
data_paths::Bool
end
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}(), 0.0, false, 0, 0, Vector{Int}(), Vector{Int}(), false, false)
return AdderGraph(origin_addernode(), Vector{AdderNode}(), Vector{Int}())
end
function AdderGraph(v::Vector{Int})
return AdderGraph(origin_addernode(), Vector{AdderNode}(), v, 0.0, false, 0, 0, Vector{Int}(), Vector{Int}(), false, false)
end
function AdderGraph(c::Vector{AdderNode}, v::Vector{Int})
return AdderGraph(origin_addernode(), c, v, 0.0, false, 0, 0, Vector{Int}(), Vector{Int}(), false, false)
return AdderGraph(origin_addernode(), Vector{AdderNode}(), v)
end
function AdderGraph(c::Vector{AdderNode})
return AdderGraph(origin_addernode(), c, Vector{Int}(), 0.0, false, 0, 0, Vector{Int}(), Vector{Int}(), false, false)
return AdderGraph(origin_addernode(), c, Vector{Int}())
end
......
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