-
Notifications
You must be signed in to change notification settings - Fork 194
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
Make products and sums cumulative. #1680
Conversation
See #1657 for another PR that adds cumulativity. Does it work to use |
I verified that it works to put |
If we add the |
To me that sounds orthogonal to whether the definitions are cumulative, so I see no need for such changes to be part of this PR. But maybe @Alizter has good reasons to ask for this? |
If it works without the annotations then it is fine. My suggestion was in case the number of variables needed reducing. |
I checked, and the annotations to (BTW, I didn't realize that it was even allowed to use |
@dgb37 Would you like me to push the last couple of changes needed so we can merge this? |
@jdchristensen I think you should just go ahead so we can merge. |
I will do it in a day or two. |
Ok, I think this is ready to merge. In the end, only three lines are changed by this PR. |
Is the doc-proviola CI failure anything to do with this PR, or is it unrelated? |
@Alizter @JasonGross Do you know whether the doc-proviola errors are related to this PR? It seems like almost every file is giving a python error
|
@jdchristensen they seem to be related due to the frequency. My guess is that there is a bit of syntax (probably new) that causes proviola to fail. Its definitely in the new arithmetic file, but will require some work to find. I can take a look later. |
Weird---despite all of the python errors, the doc-proviola run is now marked as being successful. This PR only changes 3 lines and doesn't have the new arithmetic file, so I think it should be merged now. If I don't hear any disagreement, I'll do so. (Maybe the doc-proviola runs have been generating errors for a while, but somehow suppress the error codes?) |
@jdchristensen In that case, it is probably due to the Github runner running out of memory and killing a process. If it is green now then I think it is good to merge. |
Based on some discussion on the zulip and my own need, sums and products have been made cumulative, with the associated necessary changes.