Skip to content

Commit 7b0efeb

Browse files
Fix identity test
1 parent 1b79bea commit 7b0efeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/traits.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ N = 4
77
@testset "Traits" begin
88
@test _isidentity_struct(I)
99
@test _isidentity_struct(1.0 * I)
10-
@test _isidentity_struct(SciMLBase.IdentityOperator{N}())
10+
@test _isidentity_struct(SciMLBase.IdentityOperator(N))
1111
@test _isidentity_struct(SciMLBase.DiffEqIdentity(rand(4)))
1212
@test !_isidentity_struct(2.0 * I)
1313
@test !_isidentity_struct(rand(N, N))

0 commit comments

Comments
 (0)