Skip to content

Refactor - #2

Merged
ChrisRackauckas merged 3 commits into
masterfrom
refactor
Oct 12, 2020
Merged

ChrisRackauckas merged 3 commits into
masterfrom
refactor

Conversation

@kanav99

@kanav99 kanav99 commented Oct 2, 2020

Copy link
Copy Markdown
Contributor

@YingboMa review

Comment thread src/jacobian.jl Resolved
Comment thread src/scalar.jl Resolved
Comment thread src/solve.jl Resolved
Comment thread src/solve.jl Resolved
Comment thread src/utils.jl

DiffEqBase.has_Wfact(f::Function) = false
DiffEqBase.has_Wfact_t(f::Function) = false No newline at end of file
DiffEqBase.has_Wfact_t(f::Function) = false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not using Wfacts in nonlinear solving.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but the internal f.jac uses this check, so we needed this line to bypass the check

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have to use the code from OrdinaryDiffEq.jl though.

Comment thread src/types.jl
retcode::Symbol
tol::tolType
sol::solType
iip::Bool

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a compile time constant, so it could be like iip::Val{IIP}.

Comment thread test/runtests.jl
@test f(sol.left, nothing) < 0.0
@test f(nextfloat(sol.left), nothing) >= 0.0
@test f(sol.right, nothing) > 0.0
@test f(prevfloat(sol.right), nothing) <= 0.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regula falsi doesn't seem to be tested at all.

@ChrisRackauckas
ChrisRackauckas merged commit 15a612a into master Oct 12, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the refactor branch October 12, 2020 00:26
ChrisRackauckas added a commit that referenced this pull request Aug 9, 2026
…yden (#1150)

Problem 8 with Broyden(; init_jacobian = Val(:true_jacobian)) (alg #2 in the
23-test-problems Broyden set) has started converging on some runners as of
LinearSolve 5.6, so its broken marker errors with Unexpected Pass on own CI
and on LinearSolve's downstream CI, while other runners still see it fail.
Move it from broken_tests to skip_tests, the mechanism this file already uses
for the same knife-edge with the bad_broyden + true_jacobian variant.

Co-authored-by: ChrisRackauckas-Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants