-
Notifications
You must be signed in to change notification settings - Fork 5
Use d_prototype
when solving PDSProblem
s
#99
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
base: main
Are you sure you want to change the base?
Conversation
TODO:
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #99 +/- ##
==========================================
- Coverage 98.32% 98.24% -0.08%
==========================================
Files 6 6
Lines 1250 1257 +7
==========================================
+ Hits 1229 1235 +6
- Misses 21 22 +1 ☔ View full report in Codecov by Sentry. |
Risking to be annoying for you, I have thought a bit more about the If you agree and are not too annoyed by my premature thoughts earlier, we can keep the improvements to the docs for |
@@ -20,10 +20,10 @@ The functions `P` and `D` can be used either in the out-of-place form with signa | |||
|
|||
### Keyword arguments: ### | |||
|
|||
- `p_prototype`: If `P` is given in in-place form, `p_prototype` is used to store evaluations of `P`. | |||
- `p_prototype`: If `P` is given in in-place form, `p_prototype` or copies thereof are used to store evaluations of `P`. |
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.
We should definitely merge these documentation clarifications!
@@ -1263,6 +1263,84 @@ end | |||
end | |||
end | |||
|
|||
# Here we check that the types of p_prototype and d_prototype actually |
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.
I guess we should also keep this test (without the d_prototype parts) ?
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.
Yes 👍
Okay, let's do this. |
This draft will not be pursued further. See #104 instead. |
All (SSP)MPRK algorithms use
d_prototype
to initialize destruction vectors when solving aPDSProblem
.