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

CBF(f(i)) loops for a builtin function f with no corresponding method #32871

Closed
mezzarobba opened this issue Nov 14, 2021 · 11 comments
Closed

CBF(f(i)) loops for a builtin function f with no corresponding method #32871

mezzarobba opened this issue Nov 14, 2021 · 11 comments

Comments

@mezzarobba
Copy link
Member

See also #32851.
Used to work with Sage 9.2.

CC: @dimpase

Component: symbolics

Author: Marc Mezzarobba

Branch: 5ef7cc8

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/32871

@mezzarobba mezzarobba added this to the sage-9.5 milestone Nov 14, 2021
@mezzarobba
Copy link
Member Author

Author: Marc Mezzarobba

@mezzarobba
Copy link
Member Author

Branch: u/mmezzarobba/SRtoCBF

@mezzarobba
Copy link
Member Author

Commit: 5ef7cc8

@mezzarobba
Copy link
Member Author

New commits:

5ef7cc8#32871 fix infinite recursion in SR → [RC]BF conversion

@dimpase
Copy link
Member

dimpase commented Nov 14, 2021

comment:3

OK, this works, thanks.

@dimpase
Copy link
Member

dimpase commented Nov 14, 2021

Reviewer: Dima Pasechnik

@vbraun
Copy link
Member

vbraun commented Nov 15, 2021

Changed branch from u/mmezzarobba/SRtoCBF to 5ef7cc8

@mwageringel
Copy link

comment:5

With this ticket, I get the following error:

sage: a = acos(float(1/4) * sqrt(int(5)))
sage: CBF(a)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
...
AttributeError: 'float' object has no attribute 'parent'

@mwageringel
Copy link

Changed commit from 5ef7cc8 to none

@dimpase
Copy link
Member

dimpase commented Jan 12, 2022

comment:6

one already gets this error from CBF(float(0.25)*sqrt(int(5)))

@mezzarobba
Copy link
Member Author

comment:7

Thanks; → #33157.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants