-
-
Notifications
You must be signed in to change notification settings - Fork 72
Revert the SciMLLogging #754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -9,7 +9,7 @@ using LinearSolve | |||||||||||||||||
using LinearAlgebra: BlasInt, LU | ||||||||||||||||||
using LinearAlgebra.LAPACK: require_one_based_indexing, chkfinite, chkstride1, | ||||||||||||||||||
@blasfunc, chkargsok | ||||||||||||||||||
using LinearSolve: ArrayInterface, BLISLUFactorization, @get_cacheval, LinearCache, SciMLBase, LinearVerbosity | ||||||||||||||||||
using LinearSolve: ArrayInterface, BLISLUFactorization, @get_cacheval, LinearCache, SciMLBase | ||||||||||||||||||
using SciMLBase: ReturnCode | ||||||||||||||||||
|
||||||||||||||||||
const global libblis = blis_jll.blis | ||||||||||||||||||
|
@@ -204,13 +204,13 @@ const PREALLOCATED_BLIS_LU = begin | |||||||||||||||||
end | ||||||||||||||||||
|
||||||||||||||||||
function LinearSolve.init_cacheval(alg::BLISLUFactorization, A, b, u, Pl, Pr, | ||||||||||||||||||
maxiters::Int, abstol, reltol, verbose::LinearVerbosity, | ||||||||||||||||||
maxiters::Int, abstol, reltol, verbose::Bool, | ||||||||||||||||||
assumptions::OperatorAssumptions) | ||||||||||||||||||
Comment on lines
+207
to
208
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [JuliaFormatter] reported by reviewdog 🐶
Suggested change
|
||||||||||||||||||
PREALLOCATED_BLIS_LU | ||||||||||||||||||
end | ||||||||||||||||||
|
||||||||||||||||||
function LinearSolve.init_cacheval(alg::BLISLUFactorization, A::AbstractMatrix{<:Union{Float32,ComplexF32,ComplexF64}}, b, u, Pl, Pr, | ||||||||||||||||||
maxiters::Int, abstol, reltol, verbose::LinearVerbosity, | ||||||||||||||||||
maxiters::Int, abstol, reltol, verbose::Bool, | ||||||||||||||||||
assumptions::OperatorAssumptions) | ||||||||||||||||||
Comment on lines
212
to
214
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [JuliaFormatter] reported by reviewdog 🐶
Suggested change
|
||||||||||||||||||
A = rand(eltype(A), 0, 0) | ||||||||||||||||||
ArrayInterface.lu_instance(A), Ref{BlasInt}() | ||||||||||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,7 +2,6 @@ module LinearSolveCliqueTreesExt | |||||||||||
|
||||||||||||
using CliqueTrees: symbolic, cholinit, lininit, cholesky!, linsolve! | ||||||||||||
using LinearSolve | ||||||||||||
using LinearSolve: LinearVerbosity | ||||||||||||
using SparseArrays | ||||||||||||
|
||||||||||||
function _symbolic(A::AbstractMatrix, alg::CliqueTreesFactorization) | ||||||||||||
|
@@ -23,7 +22,7 @@ end | |||||||||||
|
||||||||||||
function LinearSolve.init_cacheval( | ||||||||||||
alg::CliqueTreesFactorization, A::AbstractMatrix, b, u, Pl, Pr, maxiters::Int, abstol, | ||||||||||||
reltol, verbose::LinearVerbosity, assumptions::OperatorAssumptions) | ||||||||||||
reltol, verbose::Bool, assumptions::OperatorAssumptions) | ||||||||||||
Comment on lines
24
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [JuliaFormatter] reported by reviewdog 🐶
Suggested change
|
||||||||||||
symbfact = _symbolic(A, alg) | ||||||||||||
cholfact, cholwork = cholinit(A, symbfact) | ||||||||||||
linwork = lininit(1, cholfact) | ||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶