Skip to content

Commit 2a1c614

Browse files
Merge pull request #276 from SciML/scimloperators
Bump SciMLOperators
2 parents 13d3d25 + 7b0efeb commit 2a1c614

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LinearSolve"
22
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
33
authors = ["SciML"]
4-
version = "1.37.0"
4+
version = "1.38.0"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
@@ -45,7 +45,7 @@ Preferences = "1"
4545
RecursiveFactorization = "0.2.8"
4646
Reexport = "1"
4747
SciMLBase = "1.82"
48-
SciMLOperators = "0.1.19"
48+
SciMLOperators = "0.2"
4949
Setfield = "0.7, 0.8, 1"
5050
SnoopPrecompile = "1"
5151
Sparspak = "0.3.6"

src/common.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ function SciMLBase.init(prob::LinearProblem, alg::Union{SciMLLinearSolveAlgorith
9292
reltol = default_tol(eltype(prob.A)),
9393
maxiters::Int = length(prob.b),
9494
verbose::Bool = false,
95-
Pl = IdentityOperator{size(prob.A, 1)}(),
96-
Pr = IdentityOperator{size(prob.A, 2)}(),
95+
Pl = IdentityOperator(size(prob.A, 1)),
96+
Pr = IdentityOperator(size(prob.A, 2)),
9797
assumptions = OperatorAssumptions(Val(issquare(prob.A))),
9898
kwargs...)
9999
@unpack A, b, u0, p = prob

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)