Skip to content

Commit 92f42d2

Browse files
committed
Merge remote-tracking branch 'upstream/master' into functions
2 parents 7f4efcd + a968a45 commit 92f42d2

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ rvm:
1818
- 2.0
1919
- 2.1
2020
- 2.2
21+
- 2.3.0
2122

2223
matrix:
2324
exclude:

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ install:
3333

3434
- set /p commit=<symengine_version.txt
3535
- git clone https://github.com/symengine/symengine symengine-cpp
36-
- cd symengine-cpp
36+
- cd symengine-cpp
37+
- git config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'
38+
- git fetch origin
3739
- git checkout %commit%
3840
- cmake -G "MSYS Makefiles" -DGMP_DIR=C:\gmp -DBUILD_TESTS=no -DBUILD_BENCHMARKS=no .
3941
- make

ext/symengine/ruby_basic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ int insert_entries(VALUE key, VALUE val, VALUE input) {
212212

213213
basic_free_stack(ckey);
214214
basic_free_stack(cval);
215+
return ST_CONTINUE;
215216
}
216217

217218
VALUE cbasic_subs(int argc, VALUE *argv, VALUE self) {

notebooks/differentiation_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"source": [
9191
"x = SymEngine::Symbol.new('x')\n",
9292
"p = SymEngine::Symbol.new('p')\n",
93-
"half = Rational('1/2')"
93+
"half = 1.quo(2)"
9494
]
9595
},
9696
{

0 commit comments

Comments
 (0)