There were a couple of issues with the indefinite option of Patch.integrate which caused it to produce the incorrect results. This PR fixes them and adds some more tests.
Checklist
I have (if applicable):
[ ] referenced the GitHub issue this PR closes.
[ ] documented the new feature with docstrings or appropriate doc page.
Description
There were a couple of issues with the indefinite option of
Patch.integrate
which caused it to produce the incorrect results. This PR fixes them and adds some more tests.Checklist
I have (if applicable):