Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
fixes issue #44
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmcmil committed Oct 22, 2019
1 parent 427290d commit af8c069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/ivy_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,7 @@ def checkdef(sym,lf):
raise IvyError(side_effects[s],'immutable symbol assigned. \n{} info: symbol is used in axiom here'.format(lf.lineno))

for lf in mod.definitions:
s = lf.formula.lhs()
s = lf.formula.lhs().rep
if s in side_effects:
raise IvyError(side_effects[s],'immutable symbol assigned. \n{} Symbol is defined here'.format(lf.lineno))

Expand Down

0 comments on commit af8c069

Please sign in to comment.