Skip to content

Commit

Permalink
fix declaration, revert name change
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt711 committed Sep 21, 2024
1 parent da11ff3 commit d75df82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/pylibcudf/pylibcudf/expressions.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ cdef class ColumnNameReference(Expression):
Name of this column in the table metadata
(provided when the expression is evaluated).
"""
def __cinit__(self, str colmun_name):
def __cinit__(self, str name):
self.c_obj = <expression_ptr> \
move(make_unique[libcudf_exp.column_name_reference](
<string>(column_name.encode("utf-8"))
<string>(name.encode("utf-8"))
))
2 changes: 1 addition & 1 deletion python/pylibcudf/pylibcudf/filling.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cpdef void fill_in_place(
)

cpdef Column sequence(
size_type size,
int size,
Scalar init,
Scalar step,
)
Expand Down
2 changes: 1 addition & 1 deletion python/pylibcudf/pylibcudf/filling.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ cpdef void fill_in_place(
dereference(value.c_obj)
)

cpdef Column sequence(int size, Scalar init, Scalar step):
cpdef Column sequence(size_type size, Scalar init, Scalar step):
"""Create a sequence column of size ``size`` with initial value ``init`` and step
``step``.
Expand Down

0 comments on commit d75df82

Please sign in to comment.