Skip to content

Commit 629514a

Browse files
kaihsinweinbe58
authored andcommitted
change pow to power for backward compatibility 1.0 (#477)
1 parent d8bfddd commit 629514a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kirin/dialects/vmath/interp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def pow(self, interp, frame: Frame, stmt: stmts.pow):
191191
y = frame.get(stmt.y)
192192
return (
193193
ilist.IList(
194-
np.pow(np.asarray(x), y).tolist(),
194+
np.power(np.asarray(x), y).tolist(),
195195
elem=types.Float,
196196
),
197197
)

0 commit comments

Comments
 (0)