diff --git a/src/computational_graph/eval.jl b/src/computational_graph/eval.jl index 51616d7a..c6cba91c 100644 --- a/src/computational_graph/eval.jl +++ b/src/computational_graph/eval.jl @@ -22,8 +22,7 @@ function eval!(g::Graph{F,W}, leafmap::Dict{Int,Int}=Dict{Int,Int}(), leaf::Vect if !inherit if isempty(leafmap) if randseed < 0 - # node.weight = 1.0 - node.weight = -3.0 + node.weight = 1.0 else node.weight = rand() end