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

Fix a bug where series/limit failed unless simplified first #26543

Closed
wants to merge 4,088 commits into from

Conversation

umich-yangmi
Copy link

References to other Issues or PRs

Fixes #9173

Brief description of what is fixed or changed

Calls ratsimp on s1 to properly simplify series output

Release Notes

  • core
    • changes series to return a proper simplified series/limit

smichr and others added 30 commits March 5, 2024 19:10
Changed `cornacchia` to return `set()` instead of `None` when there is no
solution. This allows for consistent processing.
Patched Wigner3j not working with float that were half integers
maint(ci): add more tests for python-flint in CI
oscarbenjamin and others added 25 commits April 16, 2024 22:12
bug(polys): fix multivariate square free factorisation
Fixing the Tab indentation size and style in .editorconfig
Add an extra test

Removed deprecated example from docstring

remove commented line

Co-authored-by: Christopher Smith <smichr@gmail.com>

correct spacing

Co-authored-by: Christopher Smith <smichr@gmail.com>
…42-2024-04-20

ruff - FURB142: Optimize inplace set modifications
…nction so type evaluator doesn't need to infer return type
Add return type annotation in `_load_pre_generated_assumption_rules` function.
Replaced assertion with raising a TypeError in core/backend.py when matrix M
is not an instance of Matrix or Immutable Matrix. Does not create accompanying
core/tests/test_backend.py.

Issue: #5090
…elocity

physics/vector: Improved speed of Point/Frame partial_velocity methods
Replace all assertions in the code in backend.py with real exceptions
…emoveAsserts

Replace asserts in parsing/mathematica.py with exceptions
Used ratsimp to fix issue 9173
@sympy-bot
Copy link

Hi, I am the SymPy bot. I'm here to help you write a release notes entry. Please read the guide on how to write release notes.

Your release notes are in good order.

Here is what the release notes will look like:

This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.12.1.

Click here to see the pull request description that was parsed.
<!-- Your title above should be a short description of what
was changed. Do not include the issue number in the title. -->

#### References to other Issues or PRs
<!-- If this pull request fixes an issue, write "Fixes #NNNN" in that exact
format, e.g. "Fixes #1234" (see
https://tinyurl.com/auto-closing for more information). Also, please
write a comment on that issue linking back to this pull request once it is
open. -->
Fixes #9173


#### Brief description of what is fixed or changed

Calls ratsimp on `s1` to properly simplify series output


#### Release Notes

<!-- Write the release notes for this release below between the BEGIN and END
statements. The basic format is a bulleted list with the name of the subpackage
and the release note for this PR. For example:

* solvers
  * Added a new solver for logarithmic equations.

* functions
  * Fixed a bug with log of integers. Formerly, `log(-x)` incorrectly gave `-log(x)`.

* physics.units
  * Corrected a semantical error in the conversion between volt and statvolt which
    reported the volt as being larger than the statvolt.

or if no release note(s) should be included use:

NO ENTRY

See https://github.com/sympy/sympy/wiki/Writing-Release-Notes for more
information on how to write release notes. The bot will check your release
notes automatically to see if they are formatted correctly. -->

<!-- BEGIN RELEASE NOTES -->

- core
  - changes `series` to return a proper simplified series/limit

<!-- END RELEASE NOTES -->

@sympy-bot
Copy link

🟠

Hi, I am the SymPy bot. I've noticed that some of your commits add or delete files. Since this is sometimes done unintentionally, I wanted to alert you about it.

This is an experimental feature of SymPy Bot. If you have any feedback on it, please comment at sympy/sympy-bot#75.

The following commits add new files:

  • 6ca2227:
    • doc/src/modules/physics/mechanics/api/deprecated_classes.rst

If these files were added/deleted on purpose, you can ignore this message.

@umich-yangmi umich-yangmi closed this by deleting the head repository Apr 26, 2024
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.

None yet