Skip to content

Clearing Inconsistencies #69

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/symengine/ruby_complex.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

VALUE ccomplex_real_part(VALUE self)
{
return function_onearg(complex_real_part, self);
return function_onearg(complex_base_real_part, self);
}

VALUE ccomplex_imaginary_part(VALUE self)
{
return function_onearg(complex_imaginary_part, self);
return function_onearg(complex_base_imaginary_part, self);
}
4 changes: 2 additions & 2 deletions ext/symengine/ruby_complex_double.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

VALUE ccomplex_double_real_part(VALUE self)
{
return function_onearg(complex_double_real_part, self);
return function_onearg(complex_base_real_part, self);
}

VALUE ccomplex_double_imaginary_part(VALUE self)
{
return function_onearg(complex_double_imaginary_part, self);
return function_onearg(complex_base_imaginary_part, self);
}
4 changes: 2 additions & 2 deletions ext/symengine/symengine_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ void raise_exception(symengine_exceptions_t error_code)
case SYMENGINE_NOT_IMPLEMENTED:
str = "Not Implemented";
break;
case SYMENGINE_UNDEFINED:
str = "Undefined";
case SYMENGINE_DOMAIN_ERROR:
str = "Domain Error";
break;
case SYMENGINE_PARSE_ERROR:
str = "Parse Error";
Expand Down