Skip to content

Commit 3becee7

Browse files
committed
Correction Tests
1 parent 9fdd98f commit 3becee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_transform.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ f(x) = sin.(x)
2929
tp = LowRankTransform(P)
3030
@test all(KernelFunctions.transform(tp,X,2).==P*X)
3131
@test all(KernelFunctions.transform(tp,x).==P*x)
32-
@test all(get_params(SqExponentialKernel(tp)).==P)
32+
@test all(KernelFunctions.params(tp)).==P)
3333
P2 = rand(5,10)
3434
KernelFunctions.set!(tp,P2)
3535
@test all(tp.proj.==P2)
@@ -45,7 +45,7 @@ f(x) = sin.(x)
4545
ts = SelectTransform(sdims)
4646
@test all(KernelFunctions.transform(ts,X,2).==X[sdims,:])
4747
@test all(KernelFunctions.transform(ts,x).==x[sdims])
48-
@test all(get_params(SqExponentialKernel(ts)).==sdims)
48+
@test all(KernelFunctions.params(ts).==sdims)
4949
sdims2 = [2,3,5]
5050
KernelFunctions.set!(ts,sdims2)
5151
@test all(ts.select.==sdims2)

0 commit comments

Comments
 (0)