Skip to content

Commit

Permalink
strip trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
molet committed Jul 8, 2024
1 parent 1416dd2 commit 8686dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basekernels/periodic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@test k(v1, v2) exp(-0.5 * sum(abs2, sinpi.(v1 - v2) ./ r))
@test k(v1, v2) == k(v2, v1)
@test PeriodicKernel(3)(v1, v2) == PeriodicKernel(; r=ones(3))(v1, v2)
@test isa(PeriodicKernel(r=Float32.(r))(Float32.(v1), Float32.(v2)), Float32)
@test isa(PeriodicKernel(r=Float32.(r))(Float32.(v1), Float32.(v2)), Float32)
@test repr(k) == "Periodic Kernel, length(r) = $(length(r))"

# Standardised tests.
Expand Down

0 comments on commit 8686dd1

Please sign in to comment.