Skip to content

Commit 9aca480

Browse files
authored
Merge pull request #137 from isuruf/parse
Use the parser to sympify strings
2 parents 76fb7a9 + 4010e4c commit 9aca480

File tree

3 files changed

+199
-175
lines changed

3 files changed

+199
-175
lines changed

symengine/lib/symengine.pxd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,3 +770,6 @@ IF HAVE_SYMENGINE_MPFR:
770770
IF HAVE_SYMENGINE_MPC:
771771
cdef extern from "<symengine/eval_mpc.h>" namespace "SymEngine":
772772
void eval_mpc(mpc_t result, const Basic &b, mpfr_rnd_t rnd) nogil except +
773+
774+
cdef extern from "<symengine/parser.h>" namespace "SymEngine":
775+
RCP[const Basic] parse(const string &n) nogil except +

0 commit comments

Comments
 (0)