Skip to content

Commit 3003f30

Browse files
committed
cleanup
1 parent 0b542ea commit 3003f30

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/zygote.jl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ using SciMLOperators, Zygote, LinearAlgebra
33
using Random
44

55
using SciMLOperators
6-
using SciMLOperators: IdentityOperator, NullOperator, AdjointOperator, TransposedOperator,
7-
InvertedOperator, InvertibleOperator, AbstractSciMLOperator,
8-
AddedScalarOperator, ComposedScalarOperator, ScaledOperator,
6+
using SciMLOperators: AbstractSciMLOperator,
7+
IdentityOperator, NullOperator,
8+
AdjointOperator, TransposedOperator,
9+
InvertedOperator, InvertibleOperator,
910
BatchedDiagonalOperator, AddedOperator, ComposedOperator,
11+
AddedScalarOperator, ComposedScalarOperator, ScaledOperator,
1012
has_mul, has_ldiv
1113

1214
Random.seed!(0)
@@ -33,8 +35,8 @@ for (op_type, A) in
3335
(ComposedOperator, MatrixOperator(rand(N,N)) * MatrixOperator(rand(N,N))),
3436
(TensorProductOperator, TensorProductOperator(rand(n,n), rand(n,n))),
3537
(FunctionOperator, FunctionOperator((u,p,t)->M*u, op_inverse=(u,p,t)->M\u,
36-
T=Float64, isinplace=false, size=(N,N),
37-
input_prototype=u0, output_prototype=u0)),
38+
T=Float64, isinplace=false, size=(N,N),
39+
input_prototype=u0, output_prototype=u0)),
3840

3941
## ignore wrappers
4042
#(AdjointOperator, AdjointOperator(rand(N,N) |> MatrixOperator) |> adjoint),

0 commit comments

Comments
 (0)