Skip to content

Wrapped sech, csch, asech and acsch functions #134

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

Merged
merged 2 commits into from
Mar 23, 2017

Conversation

ShikharJ
Copy link
Member

No description provided.

@ShikharJ
Copy link
Member Author

@isuruf Any idea why is this error coming up? acsch and asech are defined in sympy.

AttributeError: module 'sympy' has no attribute 'acsch'

@isuruf
Copy link
Member

isuruf commented Mar 16, 2017

Are they defined in the version we are testing with?

@ShikharJ
Copy link
Member Author

@isuruf Not sure. How can I check for the SymPy version we are using (and possibly update it)?

@ShikharJ ShikharJ force-pushed the TrigFunctions branch 2 times, most recently from 203e98c to 6ba9611 Compare March 22, 2017 18:17
@ShikharJ
Copy link
Member Author

Ping @isuruf.

@@ -216,6 +230,11 @@ def sympy2symengine(a, raise_error=False):
return DenseMatrix(row, col, v)
elif isinstance(a, sympy.polys.domains.modularinteger.ModularInteger):
return PyNumber(a, sympy_module)
elif sympy.__version__ > sympy_version:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you replace sympy_version with 1.0? Having it as a global variable makes no sense

@ShikharJ
Copy link
Member Author

Ping @isuruf.

@isuruf isuruf merged commit 76fb7a9 into symengine:master Mar 23, 2017
@isuruf
Copy link
Member

isuruf commented Mar 23, 2017

Thanks

@ShikharJ ShikharJ deleted the TrigFunctions branch March 23, 2017 16:00
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.

2 participants