Skip to content
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

Add left & right params for Bracketing methods #16

Merged
merged 3 commits into from
Feb 1, 2021

Conversation

utkarsh530
Copy link
Member

@utkarsh530 utkarsh530 commented Feb 1, 2021

I have kept all u, left & right for compatibility issues. I will set u to left in case of bracketing methods. Should I also set left = u implicitly?
Ref: SciML/NonlinearSolve.jl#28
@ChrisRackauckas @YingboMa , please review.

@codecov
Copy link

codecov bot commented Feb 1, 2021

Codecov Report

Merging #16 (c13492a) into master (87d6e58) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #16   +/-   ##
======================================
  Coverage    2.87%   2.87%           
======================================
  Files          37      37           
  Lines        2712    2712           
======================================
  Hits           78      78           
  Misses       2634    2634           
Impacted Files Coverage Δ
src/solutions/nonlinear_solutions.jl 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87d6e58...7c3a4f6. Read the comment docs.

@ChrisRackauckas
Copy link
Member

I don't think it makes sense to double up. We might as well have a canonical left or right choice, since it will be required that u is set to something anyways.

@utkarsh530
Copy link
Member Author

Yes, I was thinking of that. I guess left = nothing makes sense when we do not have bracketing methods.

end

function sensitivity_solution(sol::AbstractNonlinearProblem,u)
function sensitivity_solution(sol::AbstractNonlinearSolution,u)
Copy link
Member Author

Choose a reason for hiding this comment

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

Probably there was a typo here.

@ChrisRackauckas ChrisRackauckas merged commit c4f918c into SciML:master Feb 1, 2021
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.

2 participants