Skip to content

Commit 7de5e6d

Browse files
committed
Update symengine version and adapt changes to basic_diff
1 parent c5f755a commit 7de5e6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/symengine/ruby_basic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ VALUE cbasic_diff(VALUE self, VALUE operand2)
104104
sympify(operand2, cbasic_operand2);
105105

106106
cresult = basic_new_heap();
107-
int status = basic_diff(cresult, this, cbasic_operand2);
108-
if (status == 0) {
107+
symengine_exceptions_t status = basic_diff(cresult, this, cbasic_operand2);
108+
if (status == SYMENGINE_RUNTIME_ERROR) {
109109
basic_free_stack(cbasic_operand2);
110110
basic_free_heap(cresult);
111111
return Qnil;

symengine_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
75be0b6f791475742948751d2b9562268f15ea88
1+
d674459efdfb2871643a2ae4616715ba98323ada

0 commit comments

Comments
 (0)