Skip to content

Commit

Permalink
bugfix in test
Browse files Browse the repository at this point in the history
  • Loading branch information
houpc committed Jan 16, 2024
1 parent ed0acd6 commit a6e4ec9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/computational_graph/eval.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6e4ec9

Please sign in to comment.