Skip to content

Commit

Permalink
Merge branch 'master' of github.com:yuanchenyang/SumOfSquares.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchenyang committed Mar 15, 2024
2 parents 70e293c + 6a69691 commit 7e321a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SumOfSquares/SoS.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, *args, **kwargs):
self._pexpect_count = 0

def __getitem__(self, sym):
assert isinstance(sym, sp.Symbol), f'{s} must be a sympy symbol!'
assert isinstance(sym, sp.Symbol), f'{sym} must be a sympy symbol!'
return self.sym_to_var(sym)

def sym_to_var(self, sym):
Expand Down

0 comments on commit 7e321a1

Please sign in to comment.