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

add asech to evaluate class #1189

Merged
merged 10 commits into from Jan 29, 2017
Merged

add asech to evaluate class #1189

merged 10 commits into from Jan 29, 2017

Conversation

ranjithkumar007
Copy link
Contributor

fix for #1188 @jppelteret

Copy link
Member

@isuruf isuruf left a comment

Choose a reason for hiding this comment

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

Looks good. Can you add some tests?

{
SYMENGINE_ASSERT(is_a<RealMPFR>(x))
mpfr_srcptr x_ = down_cast<const RealMPFR &>(x).i.get_mpfr_t();
if (mpfr_cmp_si(x_, 0) >= 0 or mpfr_cmp_si(x_, 1) <= 0) {
Copy link
Member

Choose a reason for hiding this comment

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

I think or should be changed to and

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes..thanks for the catch

@jppelteret
Copy link
Contributor

Thanks for the quick fix @ranjithkumar007 !

@ranjithkumar007
Copy link
Contributor Author

ranjithkumar007 commented Jan 24, 2017

@isuruf i think get_eval should be added here before adding any testcase asech

@ranjithkumar007
Copy link
Contributor Author

ranjithkumar007 commented Jan 25, 2017

Ping @isuruf @jppelteret

@jppelteret
Copy link
Contributor

Looks pretty good @ranjithkumar007 :-) Thanks for your work on this and the comprehensive test cases!

@ranjithkumar007
Copy link
Contributor Author

ranjithkumar007 commented Jan 29, 2017

@isuruf @jppelteret tests have passed and finally codecov shows coverage at 71.03%(master is at 70.95)

@isuruf isuruf merged commit 2f60d13 into symengine:master Jan 29, 2017
@ranjithkumar007 ranjithkumar007 deleted the asech branch January 29, 2017 16:02
ranjithkumar007 pushed a commit to ranjithkumar007/symengine that referenced this pull request Jan 31, 2017
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

3 participants