Skip to content

Commit

Permalink
Quick but perhaps inappropriate fix for "Str" errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cbm755 committed Mar 29, 2022
1 parent ad6724f commit 4f88cde
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inst/private/python_header.py
Expand Up @@ -43,6 +43,12 @@ def echo_exception_stdout(mystr):
from sympy.functions.special.hyper import TupleArg
# for sets
from sympy.utilities.iterables import uniq
try:
# quick fix for https://github.com/cbm755/octsympy/issues/1053
# TODO: investigate the sym ctor in this case, likely a better fix in there
from sympy.core.symbol import Str
except ImportError:
pass
import copy
import binascii
import struct
Expand Down

0 comments on commit 4f88cde

Please sign in to comment.