Skip to content

Commit

Permalink
Update shared_testsetup.jl: fixing other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rbSparky authored Aug 25, 2024
1 parent 6227cd3 commit b1d185f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNNLux/test/shared_testsetup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ function test_lux_layer(rng::AbstractRNG, l, g::GNNGraph, x;
@test LuxCore.statelength(l) == LuxCore.statelength(st)

if edge_weight !== nothing
y, st′ = l(g, x, ps, st)
else
y, st′ = l(g, x, edge_weight, ps, st)
else
y, st′ = l(g, x, ps, st)
end

@test eltype(y) == eltype(x)
Expand Down

0 comments on commit b1d185f

Please sign in to comment.