Skip to content

Commit

Permalink
Spline Tests should be fixed now
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Jun 13, 2024
1 parent 5f81154 commit f88bc81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spline_layer_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
##test 03: non-linear function, Quadratic Spline
a, b, c = rand(3)
layer = SplineLayer((0.0, 1.0), 0.1, QuadraticSpline)
@test_broken run_test(x -> a * sin(b * x + c), layer, 0.1)
@test run_test(x -> a * sin(b * x + c), layer, 0.1)

##test 04: non-linear function, Cubic Spline
layer = SplineLayer((0.0, 1.0), 0.1, CubicSpline)
@test_broken run_test(x -> exp(x) * x^2, layer, 0.1)
@test run_test(x -> exp(x) * x^2, layer, 0.1)
end

0 comments on commit f88bc81

Please sign in to comment.