Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymbolic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kaushik Kulkarni
pymbolic
Commits
5aeb00a2
Commit
5aeb00a2
authored
7 years ago
by
Isuru Fernando
Browse files
Options
Downloads
Patches
Plain Diff
Check that symengine-0.3.0.rc0 work
parent
c1d2973d
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.test-py2.yml
+1
-1
1 addition, 1 deletion
.test-py2.yml
.test-py3.yml
+1
-1
1 addition, 1 deletion
.test-py3.yml
pymbolic/interop/symengine.py
+2
-2
2 additions, 2 deletions
pymbolic/interop/symengine.py
test/test_sympy.py
+2
-2
2 additions, 2 deletions
test/test_sympy.py
with
6 additions
and
6 deletions
.test-py2.yml
+
1
−
1
View file @
5aeb00a2
...
@@ -9,5 +9,5 @@ dependencies:
...
@@ -9,5 +9,5 @@ dependencies:
-
conda-forge::numpy
-
conda-forge::numpy
-
conda-forge::sympy
-
conda-forge::sympy
-
python=2.7
-
python=2.7
-
symengine/label/dev::python-symengine=0.
2
.0.
53.g83912b7=py27_1
-
symengine/label/dev::python-symengine=0.
3
.0.
rc0
-
maxima
-
maxima
This diff is collapsed.
Click to expand it.
.test-py3.yml
+
1
−
1
View file @
5aeb00a2
...
@@ -8,5 +8,5 @@ dependencies:
...
@@ -8,5 +8,5 @@ dependencies:
-
conda-forge::numpy
-
conda-forge::numpy
-
conda-forge::sympy
-
conda-forge::sympy
-
python=3.5
-
python=3.5
-
symengine/label/dev::python-symengine=0.
2
.0.
53.g83912b7=py35_1
-
symengine/label/dev::python-symengine=0.
3
.0.
rc0
-
maxima
-
maxima
This diff is collapsed.
Click to expand it.
pymbolic/interop/symengine.py
+
2
−
2
View file @
5aeb00a2
...
@@ -28,7 +28,7 @@ from pymbolic.interop.common import (
...
@@ -28,7 +28,7 @@ from pymbolic.interop.common import (
SympyLikeToPymbolicMapper
,
PymbolicToSympyLikeMapper
)
SympyLikeToPymbolicMapper
,
PymbolicToSympyLikeMapper
)
import
pymbolic.primitives
as
prim
import
pymbolic.primitives
as
prim
import
symengine
.sympy_compat
import
symengine
__doc__
=
"""
__doc__
=
"""
...
@@ -84,7 +84,7 @@ class SymEngineToPymbolicMapper(SympyLikeToPymbolicMapper):
...
@@ -84,7 +84,7 @@ class SymEngineToPymbolicMapper(SympyLikeToPymbolicMapper):
class
PymbolicToSymEngineMapper
(
PymbolicToSympyLikeMapper
):
class
PymbolicToSymEngineMapper
(
PymbolicToSympyLikeMapper
):
sym
=
symengine
.
sympy_compat
sym
=
symengine
def
raise_conversion_error
(
self
,
expr
):
def
raise_conversion_error
(
self
,
expr
):
raise
RuntimeError
(
raise
RuntimeError
(
...
...
This diff is collapsed.
Click to expand it.
test/test_sympy.py
+
2
−
2
View file @
5aeb00a2
...
@@ -57,7 +57,7 @@ def _test_to_pymbolic(mapper, sym, use_symengine):
...
@@ -57,7 +57,7 @@ def _test_to_pymbolic(mapper, sym, use_symengine):
def
test_symengine_to_pymbolic
():
def
test_symengine_to_pymbolic
():
sym
=
pytest
.
importorskip
(
"
symengine
.sympy_compat
"
)
sym
=
pytest
.
importorskip
(
"
symengine
"
)
from
pymbolic.interop.symengine
import
SymEngineToPymbolicMapper
from
pymbolic.interop.symengine
import
SymEngineToPymbolicMapper
mapper
=
SymEngineToPymbolicMapper
()
mapper
=
SymEngineToPymbolicMapper
()
...
@@ -95,7 +95,7 @@ def _test_from_pymbolic(mapper, sym, use_symengine):
...
@@ -95,7 +95,7 @@ def _test_from_pymbolic(mapper, sym, use_symengine):
def
test_pymbolic_to_symengine
():
def
test_pymbolic_to_symengine
():
sym
=
pytest
.
importorskip
(
"
symengine
.sympy_compat
"
)
sym
=
pytest
.
importorskip
(
"
symengine
"
)
from
pymbolic.interop.symengine
import
PymbolicToSymEngineMapper
from
pymbolic.interop.symengine
import
PymbolicToSymEngineMapper
mapper
=
PymbolicToSymEngineMapper
()
mapper
=
PymbolicToSymEngineMapper
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment