Skip to content

Commit

Permalink
gh-35291: do not evaluate unnecessarily
Browse files Browse the repository at this point in the history
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes #1234" use "Introduce new method to
calculate 1+1"
-->
### 📚 Description

Currently, `Stream_cauchy_compose` unnecessarily evaluates its right
argument `g` (implicitly), even if the corresponding coefficient of the
left argument `f` is zero.  This breaks various recursive definitions.


Fixes #35261.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [x] I have made sure that the title is self-explanatory and the
description concisely explains the PR.
- [x] I have linked an issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies
<!-- List all open pull requests that this PR logically depends on -->
<!--
- #xyz: short description why this is a dependency
- #abc: ...
-->
    
URL: #35291
Reported by: Martin Rubey
Reviewer(s): Travis Scrimshaw
  • Loading branch information
Release Manager committed Mar 31, 2023
2 parents f6f4bdd + d3dc93c commit 70388e8
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 70388e8

Please sign in to comment.