Skip to content

Commit 23a9797

Browse files
committed
Corrected test transform
1 parent e9c32a4 commit 23a9797

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_transform.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tf = FunctionTransform(f)
2626
KernelFunctions.transform(tf,X,1)
2727
@test all(KernelFunctions.transform(tf,X,1).==f(X))
2828
##
29-
tchain = TransformChain([t,tp,tf])
30-
ttptf
31-
TransformChain([t,tp])
29+
tchain = ChainTransform([t,tp,tf])
3230
@test all(KernelFunctions.transform(tchain,X,2).==f(P*(s*X)))
31+
@test all(KernelFunctions.transform(tchain,X,2).==
32+
KernelFunctions.transform(tftpt,X,2))

0 commit comments

Comments
 (0)