Skip to content

Commit

Permalink
fixed a possible bug in cshift
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Knuettel authored and Daniel Knuettel committed Feb 20, 2024
1 parent c5d55fb commit 37e734e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gpt/core/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def cshift(first, second, third, fourth=None):
if isinstance(first, gpt.expr):
first = gpt.eval(first)
if isinstance(first, gpt.expr):
if isinstance(second, gpt.expr):
second = gpt.eval(second)
return first.__class__.foundation.cshift(first, second, third, fourth)

Expand Down

0 comments on commit 37e734e

Please sign in to comment.